public interface SessionKey extends Identifiable
A reference for this object may be kept around for a long time.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the name for this session, if one is available, so that it can
be referred to by others.
|
boolean |
isActive()
Return whether the session is still active.
|
boolean |
isPersistent()
Return whether this session should be persisted.
|
getUniqueId
@Nullable java.lang.String getName()
null
boolean isActive()
false
, the the related session may never
be stored.
This method may be called from any thread, so this call must be thread safe.
boolean isPersistent()