Class AbstractImmutableSession
java.lang.Object
org.wildfly.clustering.session.cache.AbstractImmutableSession
- All Implemented Interfaces:
ImmutableSession
- Direct Known Subclasses:
CompositeImmutableSession, DetachedSession, SimpleImmutableSession
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates an immutable session with the specified identifier. -
Method Summary
Methods inherited from interface ImmutableSession
getAttributes, getMetaData, isValid
-
Constructor Details
-
AbstractImmutableSession
Creates an immutable session with the specified identifier.- Parameters:
id- the identifier of the session
-
-
Method Details
-
getId
Description copied from interface:ImmutableSessionSpecifies this session's unique identifier.- Specified by:
getIdin interfaceImmutableSession- Returns:
- a unique identifier for this session.
-
hashCode
-
equals
-
toString
-