org.codehaus.wadi.core.session
Class AbstractReplicableSession
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
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, Evictable, Motable, Session
- Direct Known Subclasses:
- AtomicallyReplicableSession
public abstract class AbstractReplicableSession
- extends DistributableSession
A DistributableSession enhanced with functionality associated with replication - the frequent 'backing-up' of
its content to provide against catastrophic failure.
- Version:
- $Revision: 1725 $
- Author:
- Jules Gosnell
- 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 |
replicationManager
protected final transient ReplicationManager replicationManager
AbstractReplicableSession
public AbstractReplicableSession(DistributableAttributes attributes,
Manager manager,
Streamer streamer,
ReplicationManager replicationManager)
onEndProcessing
public void onEndProcessing()
- Specified by:
onEndProcessing
in interface Session
- Overrides:
onEndProcessing
in class StandardSession
destroy
public void destroy()
throws java.lang.Exception
- Specified by:
destroy
in interface Evictable
- Overrides:
destroy
in class StandardSession
- Throws:
java.lang.Exception
isDirty
protected boolean isDirty()
Copyright © 2008. All Rights Reserved.