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() |
getId
public 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.ImmutableSession
getAttributes
in interface org.wildfly.clustering.web.session.Session<L>
getAttributes
in class HotRodImmutableSession
public 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.ImmutableSession
getMetaData
in interface org.wildfly.clustering.web.session.Session<L>
getMetaData
in class HotRodImmutableSession
public void close()
close
in interface AutoCloseable
close
in interface org.wildfly.clustering.web.session.Session<L>
Copyright © 2017 JBoss by Red Hat. All rights reserved.