public interface SessionKey extends Identifiable
A reference for this object may be kept around for a long time.
| Modifier and Type | Method and Description |
|---|---|
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 String getName()
nullboolean 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()
Copyright © 2010-2014. All Rights Reserved.