Class HotRodUserSessionsFactory<D,S>

java.lang.Object
org.wildfly.clustering.session.infinispan.remote.user.HotRodUserSessionsFactory<D,S>
Type Parameters:
D - the deployment type
S - the session type
All Implemented Interfaces:
org.wildfly.clustering.cache.CacheEntryCreator<String,Map<D,S>,Void>, org.wildfly.clustering.cache.CacheEntryLocator<String,Map<D,S>>, org.wildfly.clustering.cache.CacheEntryRemover<String>, UserSessionsFactory<Map<D,S>,D,S>

public class HotRodUserSessionsFactory<D,S> extends Object implements UserSessionsFactory<Map<D,S>,D,S>
Author:
Paul Ferraro
  • Constructor Details

  • Method Details

    • createUserSessions

      public org.wildfly.clustering.session.user.UserSessions<D,S> createUserSessions(String id, Map<D,S> value)
      Specified by:
      createUserSessions in interface UserSessionsFactory<Map<D,S>,D,S>
    • createValue

      public Map<D,S> createValue(String id, Void context)
      Specified by:
      createValue in interface org.wildfly.clustering.cache.CacheEntryCreator<String,Map<D,S>,Void>
    • createValueAsync

      public CompletionStage<Map<D,S>> createValueAsync(String id, Void context)
      Specified by:
      createValueAsync in interface org.wildfly.clustering.cache.CacheEntryCreator<String,Map<D,S>,Void>
    • findValueAsync

      public CompletionStage<Map<D,S>> findValueAsync(String id)
      Specified by:
      findValueAsync in interface org.wildfly.clustering.cache.CacheEntryLocator<D,S>
    • removeAsync

      public CompletionStage<Void> removeAsync(String id)
      Specified by:
      removeAsync in interface org.wildfly.clustering.cache.CacheEntryRemover<D>