ehcache

net.sf.ehcache.transaction
Class StoreRemoveWithWriterCommand

java.lang.Object
  extended by net.sf.ehcache.transaction.StoreRemoveCommand
      extended by net.sf.ehcache.transaction.StoreRemoveWithWriterCommand
All Implemented Interfaces:
Command, StoreWriteCommand

public class StoreRemoveWithWriterCommand
extends StoreRemoveCommand

Author:
Alex Snaps

Field Summary
 
Fields inherited from interface net.sf.ehcache.transaction.Command
EXPIRE_ALL_ELEMENTS, NULL, PUT, PUT_WITH_WRITER, REMOVE, REMOVE_ALL, REMOVE_WITH_WRITER
 
Constructor Summary
StoreRemoveWithWriterCommand(CacheEntry entry)
          Constructs a remove command for a cache entry
 
Method Summary
 boolean execute(CacheWriterManager cacheWriterManager)
          Executes the command on some cacheWriterManager
 java.lang.String getCommandName()
          
 
Methods inherited from class net.sf.ehcache.transaction.StoreRemoveCommand
execute, getEntry, getKey, isPut, isRemove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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 java.lang.String getCommandName()

Specified by:
getCommandName in interface Command
Overrides:
getCommandName in class StoreRemoveCommand
Returns:
the command name

ehcache

true