public class InfinispanSession<L> extends InfinispanImmutableSession implements Session<L>
| Constructor and Description |
|---|
InfinispanSession(String id,
InvalidatableSessionMetaData metaData,
SessionAttributes attributes,
AtomicReference<L> localContext,
LocalContextFactory<L> localContextFactory,
Remover<String> remover) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Indicates that the application thread is finished with this session.
|
SessionAttributes |
getAttributes()
Returns this session's attributes.
|
L |
getLocalContext()
Returns the local context of this session.
|
SessionMetaData |
getMetaData()
Returns this session's meta data.
|
void |
invalidate()
Invalidates this session.
|
boolean |
isValid()
Indicates whether or not this session is valid.
|
getIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdpublic InfinispanSession(String id, InvalidatableSessionMetaData metaData, SessionAttributes attributes, AtomicReference<L> localContext, LocalContextFactory<L> localContextFactory, Remover<String> remover)
public SessionAttributes getAttributes()
ImmutableSessiongetAttributes in interface ImmutableSessiongetAttributes in interface Session<L>getAttributes in class InfinispanImmutableSessionpublic void invalidate()
Sessioninvalidate in interface Session<L>public boolean isValid()
Sessionpublic SessionMetaData getMetaData()
ImmutableSessiongetMetaData in interface ImmutableSessiongetMetaData in interface Session<L>getMetaData in class InfinispanImmutableSessionpublic void close()
Sessionclose in interface AutoCloseableclose in interface Session<L>public L getLocalContext()
SessiongetLocalContext in interface Session<L>Copyright © 2023 JBoss by Red Hat. All rights reserved.