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

java.lang.Object
  extended by org.shoal.ha.cache.impl.command.Command
      extended by 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
protected static java.util.logging.Logger _logger
           
 
Fields inherited from class org.shoal.ha.cache.impl.command.Command
dsc, targetInstanceName
 
Constructor Summary
RemoveExpiredCommand(long maxIdleInMillis, long tokenId)
           
 
Method Summary
 boolean beforeTransmit()
           
 void execute(java.lang.String initiator)
           
 java.lang.Object getCommandKey()
           
protected  boolean isArtificialKey()
           
 void setTarget(java.lang.String t)
           
 java.lang.String toString()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_logger

protected static final java.util.logging.Logger _logger
Constructor Detail

RemoveExpiredCommand

public RemoveExpiredCommand(long maxIdleInMillis,
                            long tokenId)
Method Detail

setTarget

public void setTarget(java.lang.String t)

beforeTransmit

public boolean beforeTransmit()
Specified by:
beforeTransmit in class Command

getCommandKey

public java.lang.Object getCommandKey()

execute

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

isArtificialKey

protected boolean isArtificialKey()
Overrides:
isArtificialKey in class Command

toString

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


Copyright © 2012. All Rights Reserved.