Interface UserSessionsFactory<V,D,S>
- Type Parameters:
V- the cache value typeD- the deployment identifier typeS- the session identifier type
- All Superinterfaces:
CacheEntryCreator<String,V, Void>, CacheEntryLocator<String, V>, CacheEntryRemover<String>
- All Known Implementing Classes:
HotRodUserSessionsFactory, InfinispanUserSessionsFactory
public interface UserSessionsFactory<V,D,S>
extends CacheEntryCreator<String,V,Void>, CacheEntryLocator<String,V>, CacheEntryRemover<String>
A factory for creating the sessions for a user.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptioncreateUserSessions(String id, V value) Creates user sessions from the specified cache value.Methods inherited from interface CacheEntryCreator
createValue, createValueAsyncMethods inherited from interface CacheEntryLocator
findValue, findValueAsync, tryValue, tryValueAsyncMethods inherited from interface CacheEntryRemover
purge, purgeAsync, remove, removeAsync
-
Method Details
-
createUserSessions
Creates user sessions from the specified cache value.- Parameters:
id- the identifier of the uservalue- the cache value- Returns:
- user sessions
-