Class HotRodSessionMetaDataFactory<C>
- java.lang.Object
-
- org.wildfly.clustering.web.hotrod.session.HotRodSessionMetaDataFactory<C>
-
- Type Parameters:
C- the local context type
- All Implemented Interfaces:
AutoCloseable,Creator<String,CompositeSessionMetaDataEntry<C>,SessionCreationMetaData>,Locator<String,CompositeSessionMetaDataEntry<C>>,Remover<String>,ImmutableSessionMetaDataFactory<CompositeSessionMetaDataEntry<C>>,SessionMetaDataFactory<CompositeSessionMetaDataEntry<C>>
public class HotRodSessionMetaDataFactory<C> extends Object implements SessionMetaDataFactory<CompositeSessionMetaDataEntry<C>>
Factory for creatingSessionMetaDatabacked by a pair ofRemoteCacheentries.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description HotRodSessionMetaDataFactory(HotRodConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableSessionMetaDatacreateImmutableSessionMetaData(String id, CompositeSessionMetaDataEntry<C> entry)InvalidatableSessionMetaDatacreateSessionMetaData(String id, CompositeSessionMetaDataEntry<C> entry)CompositeSessionMetaDataEntry<C>createValue(String id, SessionCreationMetaData creationMetaData)CompositeSessionMetaDataEntry<C>findValue(String id)booleanremove(String id)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.clustering.web.cache.session.SessionMetaDataFactory
close
-
-
-
-
Constructor Detail
-
HotRodSessionMetaDataFactory
public HotRodSessionMetaDataFactory(HotRodConfiguration configuration)
-
-
Method Detail
-
createValue
public CompositeSessionMetaDataEntry<C> createValue(String id, SessionCreationMetaData creationMetaData)
- Specified by:
createValuein interfaceCreator<String,CompositeSessionMetaDataEntry<C>,SessionCreationMetaData>
-
findValue
public CompositeSessionMetaDataEntry<C> findValue(String id)
- Specified by:
findValuein interfaceLocator<String,CompositeSessionMetaDataEntry<C>>
-
createSessionMetaData
public InvalidatableSessionMetaData createSessionMetaData(String id, CompositeSessionMetaDataEntry<C> entry)
- Specified by:
createSessionMetaDatain interfaceSessionMetaDataFactory<C>
-
createImmutableSessionMetaData
public ImmutableSessionMetaData createImmutableSessionMetaData(String id, CompositeSessionMetaDataEntry<C> entry)
- Specified by:
createImmutableSessionMetaDatain interfaceImmutableSessionMetaDataFactory<C>
-
-