Interface UserContextFactory<V,PC,TC>

Type Parameters:
V - the cache value type
PC - the persistent context type
TC - 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 Type
    Method
    Description
    Creates a user context from the specified cache value

    Methods inherited from interface org.wildfly.clustering.cache.CacheEntryCreator

    createValue, createValueAsync

    Methods inherited from interface org.wildfly.clustering.cache.CacheEntryLocator

    findValue, findValueAsync, tryValue, tryValueAsync

    Methods inherited from interface org.wildfly.clustering.cache.CacheEntryRemover

    purge, purgeAsync, remove, removeAsync
  • Method Details

    • createUserContext

      Map.Entry<PC,TC> createUserContext(V value)
      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