public class HotRodSessionFactory<K,V,L> extends Object implements SessionFactory<K,HotRodSessionMetaData<K,L>,V,L>
| Constructor and Description |
|---|
HotRodSessionFactory(SessionMetaDataFactory<K,HotRodSessionMetaData<K,L>,L> metaDataFactory,
SessionAttributesFactory<K,V> attributesFactory,
org.wildfly.clustering.web.LocalContextFactory<L> localContextFactory) |
| Modifier and Type | Method and Description |
|---|---|
org.wildfly.clustering.web.session.ImmutableSession |
createImmutableSession(String id,
org.wildfly.clustering.web.session.ImmutableSessionMetaData metaData,
org.wildfly.clustering.web.session.ImmutableSessionAttributes attributes) |
org.wildfly.clustering.web.session.Session<L> |
createSession(String id,
SessionEntry<K,HotRodSessionMetaData<K,L>,V> entry) |
SessionEntry<K,HotRodSessionMetaData<K,L>,V> |
createValue(String id,
Void context) |
SessionEntry<K,HotRodSessionMetaData<K,L>,V> |
findValue(String id) |
SessionAttributesFactory<K,V> |
getAttributesFactory() |
SessionMetaDataFactory<K,HotRodSessionMetaData<K,L>,L> |
getMetaDataFactory() |
boolean |
remove(String id) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateImmutableSessionpublic HotRodSessionFactory(SessionMetaDataFactory<K,HotRodSessionMetaData<K,L>,L> metaDataFactory, SessionAttributesFactory<K,V> attributesFactory, org.wildfly.clustering.web.LocalContextFactory<L> localContextFactory)
public SessionEntry<K,HotRodSessionMetaData<K,L>,V> createValue(String id, Void context)
createValue in interface org.wildfly.clustering.ee.Creator<String,SessionEntry<K,HotRodSessionMetaData<K,L>,V>,Void>public SessionEntry<K,HotRodSessionMetaData<K,L>,V> findValue(String id)
findValue in interface org.wildfly.clustering.ee.Locator<String,SessionEntry<K,HotRodSessionMetaData<K,L>,V>>public boolean remove(String id)
remove in interface org.wildfly.clustering.ee.Remover<String>public SessionMetaDataFactory<K,HotRodSessionMetaData<K,L>,L> getMetaDataFactory()
getMetaDataFactory in interface SessionFactory<K,HotRodSessionMetaData<K,L>,V,L>public SessionAttributesFactory<K,V> getAttributesFactory()
getAttributesFactory in interface SessionFactory<K,HotRodSessionMetaData<K,L>,V,L>public org.wildfly.clustering.web.session.Session<L> createSession(String id, SessionEntry<K,HotRodSessionMetaData<K,L>,V> entry)
createSession in interface SessionFactory<K,HotRodSessionMetaData<K,L>,V,L>public org.wildfly.clustering.web.session.ImmutableSession createImmutableSession(String id, org.wildfly.clustering.web.session.ImmutableSessionMetaData metaData, org.wildfly.clustering.web.session.ImmutableSessionAttributes attributes)
createImmutableSession in interface SessionFactory<K,HotRodSessionMetaData<K,L>,V,L>Copyright © 2017 JBoss by Red Hat. All rights reserved.