org.jboss.web.tomcat.service.session.distributedcache.impl.jbc
Class IncomingDistributableSessionDataImpl

java.lang.Object
  extended by org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.IncomingDistributableSessionDataImpl
All Implemented Interfaces:
org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData

public class IncomingDistributableSessionDataImpl
extends Object
implements org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData

Base implementation of DistributableSessionData.

Author:
Brian Stansberry

Constructor Summary
IncomingDistributableSessionDataImpl(AtomicInteger version, AtomicLong timestamp, org.jboss.web.tomcat.service.session.distributedcache.spi.DistributableSessionMetadata metadata, Map<String,Object> attributes)
           
IncomingDistributableSessionDataImpl(Integer version, Long timestamp, org.jboss.web.tomcat.service.session.distributedcache.spi.DistributableSessionMetadata metadata, Map<String,Object> attributes)
           
 
Method Summary
 org.jboss.web.tomcat.service.session.distributedcache.spi.DistributableSessionMetadata getMetadata()
           
 Map<String,Object> getSessionAttributes()
           
 long getTimestamp()
           
 int getVersion()
           
 boolean providesSessionAttributes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IncomingDistributableSessionDataImpl

public IncomingDistributableSessionDataImpl(Integer version,
                                            Long timestamp,
                                            org.jboss.web.tomcat.service.session.distributedcache.spi.DistributableSessionMetadata metadata,
                                            Map<String,Object> attributes)

IncomingDistributableSessionDataImpl

public IncomingDistributableSessionDataImpl(AtomicInteger version,
                                            AtomicLong timestamp,
                                            org.jboss.web.tomcat.service.session.distributedcache.spi.DistributableSessionMetadata metadata,
                                            Map<String,Object> attributes)
Method Detail

providesSessionAttributes

public boolean providesSessionAttributes()
Specified by:
providesSessionAttributes in interface org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData

getSessionAttributes

public Map<String,Object> getSessionAttributes()
Specified by:
getSessionAttributes in interface org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData

getMetadata

public org.jboss.web.tomcat.service.session.distributedcache.spi.DistributableSessionMetadata getMetadata()
Specified by:
getMetadata in interface org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData

getTimestamp

public long getTimestamp()
Specified by:
getTimestamp in interface org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData

getVersion

public int getVersion()
Specified by:
getVersion in interface org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData


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