Interface UserSessionsFactory<V,D,S>

Type Parameters:
V - the cache value type
D - the deployment identifier type
S - 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 Type
    Method
    Description
    org.wildfly.clustering.session.user.UserSessions<D,S>
    Creates user sessions from the specified cache value.

    Methods inherited from interface org.wildfly.clustering.cache.CacheEntryCreator

    createValue, createValueAsync

    Methods inherited from interface org.wildfly.clustering.cache.CacheEntryLocator

    findValue, findValueAsync, tryValue, tryValueAsync

    Methods inherited from interface org.wildfly.clustering.cache.CacheEntryRemover

    purge, purgeAsync, remove, removeAsync
  • Method Details

    • createUserSessions

      org.wildfly.clustering.session.user.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