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, rollback
public boolean isPut(Object key)
key
- the keypublic boolean isRemove(Object key)
key
- the keypublic Object getObjectKey()
public CacheEntry getEntry()
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.