|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ehcache.transaction.StoreRemoveElementCommand
public class StoreRemoveElementCommand
Field Summary |
---|
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 |
Constructor Summary | |
---|---|
StoreRemoveElementCommand(Element element)
Constructor |
Method Summary | |
---|---|
boolean |
execute(CacheWriterManager cacheWriterManager)
Executes the command on some cacheWriterManager |
boolean |
execute(Store store)
Executes the command on some store |
java.lang.String |
getCommandName()
|
boolean |
isPut(java.lang.Object key)
Is this command represents adding a key to the store |
boolean |
isRemove(java.lang.Object key)
Is this command represents removing a key to the store |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StoreRemoveElementCommand(Element element)
element
- the element to be removedMethod Detail |
---|
public java.lang.String getCommandName()
getCommandName
in interface Command
public boolean execute(Store store)
execute
in interface Command
store
- the Store on which to execute the command
public boolean execute(CacheWriterManager cacheWriterManager)
execute
in interface Command
cacheWriterManager
- the CacheWriterManager on which to execute the command
public boolean isPut(java.lang.Object key)
isPut
in interface Command
key
- the key
public boolean isRemove(java.lang.Object key)
isRemove
in interface Command
key
- the key
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |