Class InfinispanUserContextFactory<C,CV,T>
java.lang.Object
org.wildfly.clustering.session.infinispan.embedded.user.InfinispanUserContextFactory<C,CV,T>
- All Implemented Interfaces:
org.wildfly.clustering.cache.Creator<String,,UserContext<CV, T>, C> org.wildfly.clustering.cache.Locator<String,,UserContext<CV, T>> org.wildfly.clustering.cache.Remover<String>,UserContextFactory<UserContext<CV,T>, C, T>
public class InfinispanUserContextFactory<C,CV,T>
extends Object
implements UserContextFactory<UserContext<CV,T>,C,T>
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionInfinispanUserContextFactory(org.wildfly.clustering.cache.infinispan.embedded.EmbeddedCacheConfiguration configuration, org.wildfly.clustering.marshalling.Marshaller<C, CV> marshaller, Supplier<T> contextFactory) -
Method Summary
Modifier and TypeMethodDescriptioncreateUserContext(UserContext<CV, T> entry) createValueAsync(String id, C 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
-
InfinispanUserContextFactory
-
-
Method Details
-
createValueAsync
-
findValueAsync
-
removeAsync
- Specified by:
removeAsyncin interfaceorg.wildfly.clustering.cache.Remover<C>
-
createUserContext
- Specified by:
createUserContextin interfaceUserContextFactory<C,CV, T>
-