public class LocalSessionStore extends AbstractLifeCycle implements SessionStore
start| 构造器和说明 |
|---|
LocalSessionStore() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
destroy() |
CompletableFuture<HTTPSession> |
get(String key) |
protected void |
init() |
CompletableFuture<Boolean> |
put(String key,
HTTPSession value) |
CompletableFuture<Boolean> |
remove(String key) |
CompletableFuture<Integer> |
size() |
isStarted, isStopped, start, stoppublic CompletableFuture<Boolean> remove(String key)
remove 在接口中 SessionStorepublic CompletableFuture<Boolean> put(String key, HTTPSession value)
put 在接口中 SessionStorepublic CompletableFuture<HTTPSession> get(String key)
get 在接口中 SessionStorepublic CompletableFuture<Integer> size()
size 在接口中 SessionStoreprotected void init()
init 在类中 AbstractLifeCycleprotected void destroy()
destroy 在类中 AbstractLifeCycleCopyright © 2017. All rights reserved.