|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.transaction.StoreReplaceCommand
public class StoreReplaceCommand
| 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 | |
|---|---|
StoreReplaceCommand(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 StoreReplaceCommand(Element element)
element - the element to replace an existing entry| Method Detail |
|---|
public java.lang.String getCommandName()
getCommandName in interface Commandpublic boolean execute(Store store)
execute in interface Commandstore - the Store on which to execute the command
public boolean execute(CacheWriterManager cacheWriterManager)
execute in interface CommandcacheWriterManager - the CacheWriterManager on which to execute the command
public boolean isPut(java.lang.Object key)
isPut in interface Commandkey - the key
public boolean isRemove(java.lang.Object key)
isRemove in interface Commandkey - the key
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||