org.jboss.web.tomcat.service.session.distributedcache.spi
Interface OutgoingDistributableSessionData

All Known Subinterfaces:
OutgoingAttributeGranularitySessionData, OutgoingSessionGranularitySessionData

public interface OutgoingDistributableSessionData

Encapsulates the types of data about a session that can be stored to a distributed cache, except for the attributes. How to obtain the attributes, if available, would be specified via a subinterface.

Author:
Brian Stansberry

Method Summary
 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.
 

Method Detail

getRealId

String getRealId()
Gets the session id with any appended jvmRoute info removed.


getVersion

int getVersion()
Gets the session's version.


getTimestamp

Long getTimestamp()
Gets the timestamp of the most recent session access.


getMetadata

DistributableSessionMetadata getMetadata()
Gets the other session metadata besides the version and timestamp.



Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.