org.shoal.adapter.store.commands
Class TouchCommand<K,V>

java.lang.Object
  extended by org.shoal.ha.cache.impl.command.Command<K,V>
      extended by org.shoal.adapter.store.commands.AcknowledgedCommand<K,V>
          extended by org.shoal.adapter.store.commands.AbstractSaveCommand<K,V>
              extended by org.shoal.adapter.store.commands.TouchCommand<K,V>
All Implemented Interfaces:
java.io.Serializable

public class TouchCommand<K,V>
extends AbstractSaveCommand<K,V>

Author:
Mahesh Kannan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.shoal.adapter.store.commands.AbstractSaveCommand
_logger, lastAccessedAt, maxIdleTime, version
 
Fields inherited from class org.shoal.ha.cache.impl.command.Command
dsc
 
Constructor Summary
TouchCommand()
           
TouchCommand(K k, long version, long accessTime, long maxIdleTime)
           
 
Method Summary
 void execute(java.lang.String initiator)
           
 
Methods inherited from class org.shoal.adapter.store.commands.AbstractSaveCommand
beforeTransmit, getKeyMappingInfo, getLastAccessedAt, getMaxIdleTime, getVersion, hasState, toString
 
Methods inherited from class org.shoal.adapter.store.commands.AcknowledgedCommand
onFailure, onSuccess, sendAcknowledgement
 
Methods inherited from class org.shoal.ha.cache.impl.command.Command
captureState, getCommandManager, getDataStoreContext, getKey, getName, getOpcode, getTargetName, initialize, isArtificialKey, prepareTransmit, setKey, setTargetName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TouchCommand

public TouchCommand()

TouchCommand

public TouchCommand(K k,
                    long version,
                    long accessTime,
                    long maxIdleTime)
Method Detail

execute

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


Copyright © 2012. All Rights Reserved.