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()
OutgoingDistributableSessionData
getMetadata
in interface OutgoingDistributableSessionData
public String getRealId()
OutgoingDistributableSessionData
getRealId
in interface OutgoingDistributableSessionData
public Long getTimestamp()
OutgoingDistributableSessionData
getTimestamp
in interface OutgoingDistributableSessionData
public int getVersion()
OutgoingDistributableSessionData
getVersion
in interface OutgoingDistributableSessionData
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.