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 typePV- the marshalled persistent context typeTC- the transient context type
- All Implemented Interfaces:
org.wildfly.clustering.cache.Creator<String,,UserContext<PV, TC>, PC> org.wildfly.clustering.cache.Locator<String,,UserContext<PV, TC>> org.wildfly.clustering.cache.Remover<String>,UserContextFactory<UserContext<PV,TC>, PC, TC>
public class HotRodUserContextFactory<PC,PV,TC>
extends Object
implements UserContextFactory<UserContext<PV,TC>,PC,TC>
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionHotRodUserContextFactory(RemoteCacheConfiguration configuration, org.wildfly.clustering.marshalling.Marshaller<PC, PV> marshaller, Supplier<TC> contextFactory) -
Method Summary
Modifier and TypeMethodDescriptioncreateUserContext(UserContext<PV, TC> entry) createValueAsync(String id, PC context) findValueAsync(String id) removeAsync(String id) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.cache.Creator
createValueMethods inherited from interface org.wildfly.clustering.cache.Locator
findValue, tryValue, tryValueAsyncMethods inherited from interface org.wildfly.clustering.cache.Remover
purge, purgeAsync, removeMethods inherited from interface org.wildfly.clustering.session.cache.user.UserContextFactory
createUserContext
-
Constructor Details
-
HotRodUserContextFactory
public HotRodUserContextFactory(RemoteCacheConfiguration configuration, org.wildfly.clustering.marshalling.Marshaller<PC, PV> marshaller, Supplier<TC> contextFactory)
-
-
Method Details
-
createValueAsync
-
findValueAsync
-
removeAsync
- Specified by:
removeAsyncin interfaceorg.wildfly.clustering.cache.Remover<PC>
-
createUserContext
- Specified by:
createUserContextin interfaceUserContextFactory<PC,PV, TC>
-