org.shoal.ha.cache.impl.interceptor
Class ReplicationFramePayloadCommand<K,V>

java.lang.Object
  extended by org.shoal.ha.cache.impl.command.Command<K,V>
      extended by org.shoal.ha.cache.impl.interceptor.ReplicationFramePayloadCommand<K,V>

public class ReplicationFramePayloadCommand<K,V>
extends Command<K,V>

Author:
Mahesh Kannan

Field Summary
 
Fields inherited from class org.shoal.ha.cache.impl.command.Command
dsc
 
Constructor Summary
ReplicationFramePayloadCommand()
           
 
Method Summary
protected  ReplicationFramePayloadCommand<K,V> createNewInstance()
           
 void execute(java.lang.String initiator)
           
 void readCommandPayload(ReplicationInputStream ris)
           
 void setReplicationFrame(ReplicationFrame<K,V> frame)
           
 java.lang.String toString()
           
 void writeCommandPayload(ReplicationOutputStream ros)
           
 
Methods inherited from class org.shoal.ha.cache.impl.command.Command
getCommandManager, getDataStoreContext, getKeyMappingInfo, getName, getOpcode, getTargetName, initialize, prepareToExecute, prepareTransmit, selectReplicaInstance, setTargetName, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReplicationFramePayloadCommand

public ReplicationFramePayloadCommand()
Method Detail

setReplicationFrame

public void setReplicationFrame(ReplicationFrame<K,V> frame)

createNewInstance

protected ReplicationFramePayloadCommand<K,V> createNewInstance()
Specified by:
createNewInstance in class Command<K,V>

writeCommandPayload

public void writeCommandPayload(ReplicationOutputStream ros)
                         throws java.io.IOException
Specified by:
writeCommandPayload in class Command<K,V>
Throws:
java.io.IOException

readCommandPayload

public void readCommandPayload(ReplicationInputStream ris)
                        throws DataStoreException
Specified by:
readCommandPayload in class Command<K,V>
Throws:
DataStoreException

execute

public void execute(java.lang.String initiator)
             throws DataStoreException
Specified by:
execute in class Command<K,V>
Throws:
DataStoreException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2010. All Rights Reserved.