|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IncomingDistributableSessionData
Encapsulates the four types of data about a session that can be retrieved from a distributed cache.
Method Summary | |
---|---|
DistributableSessionMetadata |
getMetadata()
Gets the other session metadata besides the version and timestamp. |
Map<String,Object> |
getSessionAttributes()
Returns the session's attribute map, or throws an IllegalStateException if providesSessionAttributes() would
return false . |
long |
getTimestamp()
Gets the timestamp of the most recent session access. |
int |
getVersion()
Gets the session's version. |
boolean |
providesSessionAttributes()
Gets whether it is safe to invoke getSessionAttributes()
on this object. |
Method Detail |
---|
int getVersion()
long getTimestamp()
DistributableSessionMetadata getMetadata()
boolean providesSessionAttributes()
getSessionAttributes()
on this object.
true
if getSessionAttributes()
will
return a map; false
if it will throw an
IllegalStateException.Map<String,Object> getSessionAttributes()
providesSessionAttributes()
would
return false
.
null
IllegalStateException
- if providesSessionAttributes()
would
return false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |