Class HotRodSessionMetaDataFactory<C>
- java.lang.Object
-
- org.wildfly.clustering.web.hotrod.session.metadata.HotRodSessionMetaDataFactory<C>
-
- Type Parameters:
C- the local context type
- All Implemented Interfaces:
AutoCloseable,Creator<String,SessionMetaDataEntry<C>,Duration>,Locator<String,SessionMetaDataEntry<C>>,Remover<String>,ImmutableSessionMetaDataFactory<SessionMetaDataEntry<C>>,SessionMetaDataFactory<SessionMetaDataEntry<C>>
public class HotRodSessionMetaDataFactory<C> extends Object implements SessionMetaDataFactory<SessionMetaDataEntry<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, SessionMetaDataEntry<C> entry)InvalidatableSessionMetaDatacreateSessionMetaData(String id, SessionMetaDataEntry<C> entry)SessionMetaDataEntry<C>createValue(String id, Duration defaultTimeout)SessionMetaDataEntry<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.metadata.SessionMetaDataFactory
close
-
-
-
-
Constructor Detail
-
HotRodSessionMetaDataFactory
public HotRodSessionMetaDataFactory(HotRodConfiguration configuration)
-
-
Method Detail
-
createValue
public SessionMetaDataEntry<C> createValue(String id, Duration defaultTimeout)
- Specified by:
createValuein interfaceCreator<String,SessionMetaDataEntry<C>,Duration>
-
findValue
public SessionMetaDataEntry<C> findValue(String id)
- Specified by:
findValuein interfaceLocator<String,SessionMetaDataEntry<C>>
-
createSessionMetaData
public InvalidatableSessionMetaData createSessionMetaData(String id, SessionMetaDataEntry<C> entry)
- Specified by:
createSessionMetaDatain interfaceSessionMetaDataFactory<C>
-
createImmutableSessionMetaData
public ImmutableSessionMetaData createImmutableSessionMetaData(String id, SessionMetaDataEntry<C> entry)
- Specified by:
createImmutableSessionMetaDatain interfaceImmutableSessionMetaDataFactory<C>
-
-