| 
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Command
| Method Summary | |
|---|---|
 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  | 
 boolean | 
prepare(Store store,
        SoftLockManager softLockManager,
        XidTransactionID transactionId,
        ElementValueComparator comparator)
Prepare the commmand un the underlying store  | 
 void | 
rollback(Store store,
         SoftLockManager softLockManager)
Rollback the prepared change  | 
| Method Detail | 
|---|
boolean isPut(Object key)
key - the key
boolean isRemove(Object key)
key - the key
boolean prepare(Store store,
                SoftLockManager softLockManager,
                XidTransactionID transactionId,
                ElementValueComparator comparator)
store - the underdyling storesoftLockManager - the soft lock managertransactionId - the transaction IDcomparator - the element value comparator
void rollback(Store store,
              SoftLockManager softLockManager)
store - the underlying storesoftLockManager - the soft lock managerObject getObjectKey()
  | 
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||