public class StorePutCommand extends AbstractStoreCommand
Store.put(net.sf.ehcache.Element) put} operation to be executed on a Store.| Constructor and Description |
|---|
StorePutCommand(Element oldElement,
Element newElement)
Create a StorePutCommand
|
| Modifier and Type | Method and Description |
|---|---|
Element |
getElement()
Getter to the Element instance to be put in the Store
|
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 Element getElement()
public Object getObjectKey()
Copyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.