public interface IncomingDistributableSessionData
Modifier and Type | Method and Description |
---|---|
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. |
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
.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.