org.shoal.adapter.store.commands.monitor
Class ListReplicaStoreEntriesCommand

java.lang.Object
  extended by org.shoal.ha.cache.impl.command.Command
      extended by org.shoal.adapter.store.commands.monitor.ListReplicaStoreEntriesCommand

public class ListReplicaStoreEntriesCommand
extends Command

Author:
Mahesh Kannan

Field Summary
 
Fields inherited from class org.shoal.ha.cache.impl.command.Command
dsc
 
Constructor Summary
ListReplicaStoreEntriesCommand(java.lang.String storeName)
           
 
Method Summary
protected  ListReplicaStoreEntriesCommand createNewInstance()
           
 void execute(java.lang.String initiator)
           
 java.lang.String getRespondingInstanceName()
           
 java.util.ArrayList<java.lang.String> getResult(long waitFor, java.util.concurrent.TimeUnit unit)
           
 void readCommandPayload(ReplicationInputStream ris)
           
protected  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, toString, wait, wait, wait
 

Constructor Detail

ListReplicaStoreEntriesCommand

public ListReplicaStoreEntriesCommand(java.lang.String storeName)
Method Detail

createNewInstance

protected ListReplicaStoreEntriesCommand createNewInstance()
Specified by:
createNewInstance in class Command

writeCommandPayload

protected void writeCommandPayload(ReplicationOutputStream ros)
                            throws java.io.IOException
Specified by:
writeCommandPayload in class Command
Throws:
java.io.IOException

readCommandPayload

public void readCommandPayload(ReplicationInputStream ris)
                        throws java.io.IOException
Specified by:
readCommandPayload in class Command
Throws:
java.io.IOException

getRespondingInstanceName

public java.lang.String getRespondingInstanceName()

execute

public void execute(java.lang.String initiator)
             throws DataStoreException
Specified by:
execute in class Command
Throws:
DataStoreException

getResult

public java.util.ArrayList<java.lang.String> getResult(long waitFor,
                                                       java.util.concurrent.TimeUnit unit)
                                                throws DataStoreException
Throws:
DataStoreException


Copyright © 2010. All Rights Reserved.