| Modifier and Type | Field and Description |
|---|---|
| private MVMap. | |
| private long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public MVMap. | decide(VersionedValue<V>
value currently exists in the map existingValue, VersionedValue<V> original input value providedValue)Implements abstract org. Makes a decision about how to proceed with the update. |
| public void | reset()
Overrides org. Resets internal state (if any) of a this DecisionMaker to it's initial state. |
| public <T extends VersionedValue | selectValue(T
value currently exists in the map existingValue, T original input value providedValue)Overrides org. Provides revised value for insert/update based on original input value and value currently existing in the map. |
| pack-priv void | |
| public String |
| decision | back to summary |
|---|---|
| private MVMap. | |
| undoKey | back to summary |
|---|---|
| private long undoKey | |
| CommitDecisionMaker | back to summary |
|---|---|
| pack-priv CommitDecisionMaker() | |
| decide | back to summary |
|---|---|
| public MVMap. Implements abstract org. Doc from org. Makes a decision about how to proceed with the update.
| |
| reset | back to summary |
|---|---|
| public void reset() Overrides org. Doc from org. Resets internal state (if any) of a this DecisionMaker to it's initial state. This method is invoked whenever concurrent update failure is encountered, so we can re-start update process.
| |
| selectValue | back to summary |
|---|---|
| public <T extends VersionedValue Overrides org. Doc from org. Provides revised value for insert/update based on original input value and value currently existing in the map. This method is only invoked after call to decide(), if it returns PUT.
| |
| setUndoKey | back to summary |
|---|---|
| pack-priv void setUndoKey(long undoKey) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |