net.sf.ehcache.transaction
Class StoreRemoveWithWriterCommand
java.lang.Object
net.sf.ehcache.transaction.StoreRemoveCommand
net.sf.ehcache.transaction.StoreRemoveWithWriterCommand
- All Implemented Interfaces:
- Command, StoreWriteCommand
public class StoreRemoveWithWriterCommand
- extends StoreRemoveCommand
- Author:
- Alex Snaps
-

| Fields inherited from interface net.sf.ehcache.transaction.Command |
EXPIRE_ALL_ELEMENTS, NULL, PUT, PUT_IF_ABSENT, PUT_WITH_WRITER, REMOVE, REMOVE_ALL, REMOVE_ELEMENT, REMOVE_WITH_WRITER, REPLACE, REPLACE_ELEMENT |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StoreRemoveWithWriterCommand
public StoreRemoveWithWriterCommand(CacheEntry entry)
- Constructs a remove command for a cache entry
- Parameters:
entry - to remove from the store on StorePutCommand.execute(net.sf.ehcache.store.Store)
execute
public boolean execute(CacheWriterManager cacheWriterManager)
- Executes the command on some cacheWriterManager
- Specified by:
execute in interface Command- Overrides:
execute in class StoreRemoveCommand
- Parameters:
cacheWriterManager - the CacheWriterManager on which to execute the command
- Returns:
- true if the CacheWriterManager was called
getCommandName
public String getCommandName()
-
- Specified by:
getCommandName in interface Command- Overrides:
getCommandName in class StoreRemoveCommand
- Returns:
- the command name
true