public class OutgoingDistributableSessionDataImpl extends Object implements OutgoingDistributableSessionData
| Constructor and Description |
|---|
OutgoingDistributableSessionDataImpl(String realId,
int version,
Long timestamp,
DistributableSessionMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
DistributableSessionMetadata |
getMetadata()
Gets the other session metadata besides the version and timestamp.
|
String |
getRealId()
Gets the session id with any appended jvmRoute info removed.
|
Long |
getTimestamp()
Gets the timestamp of the most recent session access.
|
int |
getVersion()
Gets the session's version.
|
public OutgoingDistributableSessionDataImpl(String realId, int version, Long timestamp, DistributableSessionMetadata metadata)
public DistributableSessionMetadata getMetadata()
OutgoingDistributableSessionDatagetMetadata in interface OutgoingDistributableSessionDatapublic String getRealId()
OutgoingDistributableSessionDatagetRealId in interface OutgoingDistributableSessionDatapublic Long getTimestamp()
OutgoingDistributableSessionDatagetTimestamp in interface OutgoingDistributableSessionDatapublic int getVersion()
OutgoingDistributableSessionDatagetVersion in interface OutgoingDistributableSessionDataCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.