org.shoal.ha.cache.impl.interceptor
Class ReplicationFrame<K,V>
java.lang.Object
org.shoal.ha.cache.impl.interceptor.ReplicationFrame<K,V>
public class ReplicationFrame<K,V>
- extends java.lang.Object
|
Constructor Summary |
ReplicationFrame(int seqNo,
java.lang.String sourceInstanceName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ReplicationFrame
public ReplicationFrame(int seqNo,
java.lang.String sourceInstanceName)
getSourceInstanceName
public java.lang.String getSourceInstanceName()
getTargetInstanceName
public java.lang.String getTargetInstanceName()
setTargetInstanceName
public void setTargetInstanceName(java.lang.String targetInstanceName)
getSeqNo
public int getSeqNo()
setSeqNo
public void setSeqNo(int seqNo)
addCommand
public void addCommand(Command<K,V> cmd)
getCommands
public java.util.List<Command<K,V>> getCommands()
getSerializedData
public byte[] getSerializedData()
toReplicationFrame
public static <K,V> ReplicationFrame<K,V> toReplicationFrame(DataStoreContext<K,V> dsc,
ReplicationInputStream ris)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2010. All Rights Reserved.