Interface SessionAttributesFactory<C,V>
- Type Parameters:
C- the deployment context typeV- the marshalled value type
- All Superinterfaces:
AutoCloseable,CacheEntryCreator<String,,V, Void> CacheEntryLocator<String,,V> CacheEntryRemover<String>,ImmutableSessionAttributesFactory<V>
- All Known Implementing Classes:
CoarseSessionAttributesFactory,CoarseSessionAttributesFactory,FineSessionAttributesFactory,FineSessionAttributesFactory
public interface SessionAttributesFactory<C,V>
extends ImmutableSessionAttributesFactory<V>, CacheEntryCreator<String,V,Void>, CacheEntryRemover<String>, AutoCloseable
Factory for creating a
SessionAttributes object.- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()createSessionAttributes(String id, V value, ImmutableSessionMetaData metaData, C context) Methods 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, removeAsyncMethods inherited from interface org.wildfly.clustering.session.cache.attributes.ImmutableSessionAttributesFactory
createImmutableSessionAttributes
-
Method Details
-
createSessionAttributes
SessionAttributes createSessionAttributes(String id, V value, ImmutableSessionMetaData metaData, C context) -
close
void close()- Specified by:
closein interfaceAutoCloseable
-