org.jboss.web.tomcat.service.session.distributedcache.spi
Class DistributableSessionMetadata
java.lang.Object
org.jboss.web.tomcat.service.session.distributedcache.spi.DistributableSessionMetadata
- All Implemented Interfaces:
- Serializable
public class DistributableSessionMetadata
- extends Object
- implements Serializable
Encapsulates the replicated metadata for a session. The wrapped data
can be mutated, allowing the same object to always be stored in
JBoss Cache. Always storing the same object avoids an earlier, no
longer accurate, object being reverted into the cache during a
transaction rollback.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DistributableSessionMetadata
public DistributableSessionMetadata()
getId
public String getId()
setId
public void setId(String id)
getCreationTime
public long getCreationTime()
setCreationTime
public void setCreationTime(long creationTime)
getMaxInactiveInterval
public int getMaxInactiveInterval()
setMaxInactiveInterval
public void setMaxInactiveInterval(int maxInactiveInterval)
isNew
public boolean isNew()
setNew
public void setNew(boolean isNew)
isValid
public boolean isValid()
setValid
public void setValid(boolean isValid)
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.