Class InfinispanUserContextFactory<PC,PV,TC>
java.lang.Object
org.wildfly.clustering.session.infinispan.embedded.user.InfinispanUserContextFactory<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.CacheEntryCreator<String,,UserContext<PV, TC>, PC> org.wildfly.clustering.cache.CacheEntryLocator<String,,UserContext<PV, TC>> org.wildfly.clustering.cache.CacheEntryRemover<String>,UserContextFactory<UserContext<PV,TC>, PC, TC>
public class InfinispanUserContextFactory<PC,PV,TC>
extends Object
implements UserContextFactory<UserContext<PV,TC>,PC,TC>
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionInfinispanUserContextFactory(org.wildfly.clustering.cache.infinispan.embedded.EmbeddedCacheConfiguration 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.CacheEntryCreator
createValueMethods inherited from interface org.wildfly.clustering.cache.CacheEntryLocator
findValue, tryValue, tryValueAsyncMethods inherited from interface org.wildfly.clustering.cache.CacheEntryRemover
purge, purgeAsync, remove
-
Constructor Details
-
InfinispanUserContextFactory
-
-
Method Details
-
createValueAsync
-
findValueAsync
-
removeAsync
- Specified by:
removeAsyncin interfaceorg.wildfly.clustering.cache.CacheEntryRemover<PC>
-
createUserContext
- Specified by:
createUserContextin interfaceUserContextFactory<PC,PV, TC>
-