Package org.shoal.adapter.store.commands
Class TouchCommand<K,V>
- java.lang.Object
-
- org.shoal.ha.cache.impl.command.Command<K,V>
-
- org.shoal.adapter.store.commands.AcknowledgedCommand<K,V>
-
- org.shoal.adapter.store.commands.AbstractSaveCommand<K,V>
-
- 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
-
-
Constructor Summary
Constructors Constructor Description TouchCommand()TouchCommand(K k, long version, long accessTime, long maxIdleTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(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
-
-
-
-
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:
executein classAbstractSaveCommand<K,V>- Throws:
DataStoreException
-
-