public class StoreRemoveCommand extends AbstractStoreCommand
| Constructor and Description |
|---|
StoreRemoveCommand(Object key,
Element oldElement)
Create a StoreRemoveCommand
|
| Modifier and Type | Method and Description |
|---|---|
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
|
getNewElement, getOldElement, prepare, rollbackpublic boolean isPut(Object key)
key - the keypublic boolean isRemove(Object key)
key - the keypublic Object getObjectKey()
public CacheEntry getEntry()
Copyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.