Interface UserContextFactory<V,PC,TC>
- Type Parameters:
V- the cache value typePC- the persistent context typeTC- the transient context type
- All Superinterfaces:
org.wildfly.clustering.cache.CacheEntryCreator<String,,V, PC> org.wildfly.clustering.cache.CacheEntryLocator<String,,V> org.wildfly.clustering.cache.CacheEntryRemover<String>
public interface UserContextFactory<V,PC,TC>
extends org.wildfly.clustering.cache.CacheEntryCreator<String,V,PC>, org.wildfly.clustering.cache.CacheEntryLocator<String,V>, org.wildfly.clustering.cache.CacheEntryRemover<String>
A factory for creating a user context.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptioncreateUserContext(V value) Creates a user context from the specified cache valueMethods inherited from interface org.wildfly.clustering.cache.CacheEntryCreator
createValue, createValueAsyncMethods inherited from interface org.wildfly.clustering.cache.CacheEntryLocator
findValue, findValueAsync, tryValue, tryValueAsyncMethods inherited from interface org.wildfly.clustering.cache.CacheEntryRemover
purge, purgeAsync, remove, removeAsync
-
Method Details
-
createUserContext
Creates a user context from the specified cache value- Parameters:
value- the cache value containing the user context- Returns:
- a user context from the specified cache value
-