Interface UserSessionsFactory<V,D,S>

Type Parameters:
V - the cache value type
D - the deployment identifier type
S - 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 Details

    • createUserSessions

      UserSessions<D,S> createUserSessions(String id, V value)
      Creates user sessions from the specified cache value.
      Parameters:
      id - the identifier of the user
      value - the cache value
      Returns:
      user sessions