|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.transaction.xa.commands.AbstractStoreCommand net.sf.ehcache.transaction.xa.commands.StoreRemoveCommand
public class StoreRemoveCommand
Represents a remove
operation to be executed on a Store
.
Constructor Summary | |
---|---|
StoreRemoveCommand(Object key,
Element oldElement)
Create a StoreRemoveCommand |
Method Summary | |
---|---|
CacheEntry |
getEntry()
Getter to the cache entry to be removed |
Object |
getObjectKey()
Get the key of the element this command is working on |
boolean |
isPut(Object key)
Is this command represents adding a key to the store |
boolean |
isRemove(Object key)
Is this command represents removing a key to the store |
Methods inherited from class net.sf.ehcache.transaction.xa.commands.AbstractStoreCommand |
---|
getNewElement, getOldElement, prepare, rollback |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StoreRemoveCommand(Object key, Element oldElement)
key
- the key of the element to removeoldElement
- the element in the underlying store at the time this command is createdMethod Detail |
---|
public boolean isPut(Object key)
key
- the key
public boolean isRemove(Object key)
key
- the key
public Object getObjectKey()
public CacheEntry getEntry()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |