org.codehaus.wadi.aop.replication
Class ClusteredStateSession
java.lang.Object
org.codehaus.wadi.core.eviction.SimpleEvictable
org.codehaus.wadi.core.motable.AbstractMotable
org.codehaus.wadi.core.session.StandardSession
org.codehaus.wadi.core.session.DistributableSession
org.codehaus.wadi.core.session.AbstractReplicableSession
org.codehaus.wadi.aop.replication.ClusteredStateSession
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, Evictable, Motable, Session
public class ClusteredStateSession
- extends AbstractReplicableSession
- Version:
- $Revision: 1538 $
- See Also:
- Serialized Form
| Methods inherited from class org.codehaus.wadi.core.motable.AbstractMotable |
copy, getAbstractMotableMemento, getName, getReadWriteLock, init, initExisting, isNew, mote, newReadWriteLock, onDeserialization, rehydrate, restore |
| Methods inherited from class org.codehaus.wadi.core.eviction.SimpleEvictable |
copy, getCreationTime, getLastAccessedTime, getMaxInactiveInterval, getTimedOut, getTimeToLive, init, mote, onSerialization, readExternal, setLastAccessedTime, setMaxInactiveInterval, writeExternal |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.io.Externalizable |
readExternal, writeExternal |
ClusteredStateSession
public ClusteredStateSession(ClusteredStateAttributes attributes,
Manager manager,
Streamer streamer,
ReplicationManager replicationManager,
ObjectStateHandler stateHandler)
newMemento
protected SimpleEvictableMemento newMemento()
- Overrides:
newMemento in class DistributableSession
getClusteredStateSessionMemento
public ClusteredStateSessionMemento getClusteredStateSessionMemento()
getBodyAsByteArray
public byte[] getBodyAsByteArray()
throws java.lang.Exception
- Specified by:
getBodyAsByteArray in interface Motable- Overrides:
getBodyAsByteArray in class DistributableSession
- Throws:
java.lang.Exception
setBodyAsByteArray
public void setBodyAsByteArray(byte[] bytes)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
setBodyAsByteArray in interface Motable- Overrides:
setBodyAsByteArray in class DistributableSession
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
Copyright © 2011. All Rights Reserved.