| Modifier and Type | Field and Description |
|---|---|
| private final Element | |
| private final Element | |
| private Element |
| Access | Constructor and Description |
|---|---|
| public | AbstractStoreCommand(final Element
the element in the underlying store at the time this command is created oldElement, final Element the new element to put in the underlying store newElement)Create a Store Command |
| Modifier and Type | Method and Description |
|---|---|
| private Element | |
| protected Element | Returns: the new element to put in the underlying storeGet the new element to put in the underlying store |
| protected Element | Returns: the old elementGet the element in the underlying store at the time this command is created |
| public boolean | prepare(Store
the underdyling store store, SoftLockManager the soft lock manager softLockManager, XidTransactionID the transaction ID transactionId, ElementValueComparator the element value comparator comparator)Implements net. |
| public void | rollback(Store
the underlying store store, SoftLockManager the soft lock manager softLockManager)Implements net. |
| newElement | back to summary |
|---|---|
| private final Element newElement | |
| oldElement | back to summary |
|---|---|
| private final Element oldElement | |
| softLockedElement | back to summary |
|---|---|
| private Element softLockedElement | |
| AbstractStoreCommand | back to summary |
|---|---|
| public AbstractStoreCommand(final Element oldElement, final Element newElement) Create a Store Command | |
| createElement | back to summary |
|---|---|
| private Element createElement(Object key, SoftLockID softLockId, Store store, boolean wasPinned) | |
| getNewElement | back to summary |
|---|---|
| protected Element getNewElement() Get the new element to put in the underlying store
| |
| getOldElement | back to summary |
|---|---|
| protected Element getOldElement() Get the element in the underlying store at the time this command is created
| |
| prepare | back to summary |
|---|---|
| public boolean prepare(Store store, SoftLockManager softLockManager, XidTransactionID transactionId, ElementValueComparator comparator) Implements net. Doc from net. Prepare the commmand un the underlying store
| |
| rollback | back to summary |
|---|---|
| public void rollback(Store store, SoftLockManager softLockManager) Implements net. Doc from net. Rollback the prepared change
| |