ehcache

net.sf.ehcache.transaction
Class StorePutWithWriterCommandImpl

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

public class StorePutWithWriterCommandImpl
extends StorePutCommand

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
StorePutWithWriterCommandImpl(Element element)
          Constructs a put command for an Element
 
Method Summary
 boolean execute(CacheWriterManager cacheWriterManager)
          Executes the command on some cacheWriterManager
 java.lang.String getCommandName()
          
 
Methods inherited from class net.sf.ehcache.transaction.StorePutCommand
execute, getElement, isPut, isRemove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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

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

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

ehcache

true