Interface UserSessionsFactory<V,D,S>
- Type Parameters:
V- the cache value typeD- the deployment identifier typeS- the session identifier type
- All Superinterfaces:
org.wildfly.clustering.cache.CacheEntryCreator<String,,V, Void> org.wildfly.clustering.cache.CacheEntryLocator<String,,V> org.wildfly.clustering.cache.CacheEntryRemover<String>
public interface UserSessionsFactory<V,D,S>
extends org.wildfly.clustering.cache.CacheEntryCreator<String,V,Void>, org.wildfly.clustering.cache.CacheEntryLocator<String,V>, org.wildfly.clustering.cache.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 org.wildfly.clustering.cache.CacheEntryCreator
createValue, createValueAsyncMethods inherited from interface org.wildfly.clustering.cache.CacheEntryLocator
findValue, findValueAsync, tryValue, tryValueAsyncMethods inherited from interface org.wildfly.clustering.cache.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
-