Class HotRodUserContextFactory<PC,PV,TC>

java.lang.Object
org.wildfly.clustering.session.infinispan.remote.user.HotRodUserContextFactory<PC,PV,TC>
Type Parameters:
PC - the persistent context type
PV - the marshalled persistent context type
TC - the transient context type
All Implemented Interfaces:
CacheEntryCreator<String, UserContext<PV,TC>, PC>, CacheEntryLocator<String, UserContext<PV,TC>>, CacheEntryRemover<String>, UserContextFactory<UserContext<PV,TC>, PC, TC>

public class HotRodUserContextFactory<PC,PV,TC> extends Object implements UserContextFactory<UserContext<PV,TC>, PC, TC>
The user context factory.
Author:
Paul Ferraro
  • Constructor Details

    • HotRodUserContextFactory

      public HotRodUserContextFactory(RemoteCacheConfiguration configuration, Marshaller<PC,PV> marshaller, Supplier<TC> contextFactory)
      Creates a user context factory
      Parameters:
      configuration - the configuration of the associated cache
      marshaller - the marshaller for the persistent context of the user
      contextFactory - the user context factory
  • Method Details