Skip to content

Commit 5913bd0

Browse files
committed
feat(appserver): add thread mapping store abstraction
1 parent c8cc067 commit 5913bd0

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Copyright (c) 2018-present, easy-4-java (https://github.com/easy-4-java).
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
*/
6+
package io.github.easy4j.codex.appserver;
7+
8+
/**
9+
* Storage abstraction for logical session-key to Codex thread-id mappings.
10+
*/
11+
public interface ThreadMappingStore {
12+
13+
String get(String sessionKey);
14+
15+
void put(String sessionKey, String threadId);
16+
17+
void remove(String sessionKey);
18+
}

0 commit comments

Comments
 (0)