public class HotRodSession<L> extends HotRodImmutableSession implements org.wildfly.clustering.web.session.Session<L>
| Constructor and Description |
|---|
HotRodSession(String id,
InvalidatableSessionMetaData metaData,
SessionAttributes attributes,
AtomicReference<L> localContext,
org.wildfly.clustering.web.LocalContextFactory<L> localContextFactory,
org.wildfly.clustering.ee.Remover<String> remover) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
SessionAttributes |
getAttributes() |
L |
getLocalContext() |
org.wildfly.clustering.web.session.SessionMetaData |
getMetaData() |
void |
invalidate() |
boolean |
isValid() |
getIdpublic HotRodSession(String id, InvalidatableSessionMetaData metaData, SessionAttributes attributes, AtomicReference<L> localContext, org.wildfly.clustering.web.LocalContextFactory<L> localContextFactory, org.wildfly.clustering.ee.Remover<String> remover)
public SessionAttributes getAttributes()
getAttributes in interface org.wildfly.clustering.web.session.ImmutableSessiongetAttributes in interface org.wildfly.clustering.web.session.Session<L>getAttributes in class HotRodImmutableSessionpublic void invalidate()
invalidate in interface org.wildfly.clustering.web.session.Session<L>public boolean isValid()
isValid in interface org.wildfly.clustering.web.session.Session<L>public org.wildfly.clustering.web.session.SessionMetaData getMetaData()
getMetaData in interface org.wildfly.clustering.web.session.ImmutableSessiongetMetaData in interface org.wildfly.clustering.web.session.Session<L>getMetaData in class HotRodImmutableSessionpublic void close()
close in interface AutoCloseableclose in interface org.wildfly.clustering.web.session.Session<L>Copyright © 2017 JBoss by Red Hat. All rights reserved.