Package org.shoal.adapter.store.commands
Class RemoveExpiredCommand<K,V>
- java.lang.Object
-
- org.shoal.ha.cache.impl.command.Command
-
- org.shoal.adapter.store.commands.RemoveExpiredCommand<K,V>
-
- All Implemented Interfaces:
java.io.Serializable
public class RemoveExpiredCommand<K,V> extends Command
- Author:
- Mahesh Kannan
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.util.logging.Logger_logger-
Fields inherited from class org.shoal.ha.cache.impl.command.Command
dsc, targetInstanceName
-
-
Constructor Summary
Constructors Constructor Description RemoveExpiredCommand(long maxIdleInMillis, long tokenId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanbeforeTransmit()voidexecute(java.lang.String initiator)java.lang.ObjectgetCommandKey()protected booleanisArtificialKey()voidsetTarget(java.lang.String t)java.lang.StringtoString()-
Methods inherited from class org.shoal.ha.cache.impl.command.Command
captureState, getCommandManager, getDataStoreContext, getKey, getKeyMappingInfo, getName, getOpcode, getTargetName, initialize, onFailure, onSuccess, prepareTransmit, setKey, setTargetName
-
-
-
-
Method Detail
-
setTarget
public void setTarget(java.lang.String t)
-
beforeTransmit
public boolean beforeTransmit()
- Specified by:
beforeTransmitin classCommand
-
getCommandKey
public java.lang.Object getCommandKey()
-
isArtificialKey
protected boolean isArtificialKey()
- Overrides:
isArtificialKeyin classCommand
-
-