- All Superinterfaces:
DataStore,ExpandedLifecycleStore,InternalCacheDataStore,SessionListener
public interface SingletonSessionStore<T extends Session>
extends ExpandedLifecycleStore, InternalCacheDataStore, SessionListener
-
Method Summary
Modifier and TypeMethodDescriptiondefault voiddefault TClass<?> default booleandefault booleandefault voidonStateChange(boolean running) default voidsetSessionEnabled(boolean value) default voiddefault voidMethods inherited from interface io.xpipe.core.store.DataStore
asNeeded, checkComplete, isCompleteMethods inherited from interface io.xpipe.core.store.ExpandedLifecycleStore
initializeStoreMethods inherited from interface io.xpipe.core.store.InternalCacheDataStore
getCache, getOrCompute, setCache
-
Method Details
-
finalizeStore
- Specified by:
finalizeStorein interfaceExpandedLifecycleStore- Throws:
Exception
-
setSessionEnabled
default void setSessionEnabled(boolean value) -
isSessionRunning
default boolean isSessionRunning() -
isSessionEnabled
default boolean isSessionEnabled() -
onStateChange
default void onStateChange(boolean running) - Specified by:
onStateChangein interfaceSessionListener
-
newSession
-
getSessionClass
Class<?> getSessionClass() -
getSession
-
startSessionIfNeeded
-
stopSessionIfNeeded
-