net.sf.ehcache.transaction
Class StorePutWithWriterCommandImpl
java.lang.Object
net.sf.ehcache.transaction.StorePutCommand
net.sf.ehcache.transaction.StorePutWithWriterCommandImpl
- All Implemented Interfaces:
- Command, StoreWriteCommand
public class StorePutWithWriterCommandImpl
- extends StorePutCommand
- 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 |
StorePutWithWriterCommandImpl
public StorePutWithWriterCommandImpl(Element element)
- Constructs a put command for an Element
- Parameters:
element - to put in 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 StorePutCommand
- 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 StorePutCommand
- Returns:
- the command name
true