1 parent c8cc067 commit 5913bd0Copy full SHA for 5913bd0
1 file changed
src/main/java/io/github/easy4j/codex/appserver/ThreadMappingStore.java
@@ -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