public class StoredOperationCopy extends Object implements IStorage
Constructor and Description |
---|
StoredOperationCopy() |
Modifier and Type | Method and Description |
---|---|
void |
savePreviousState(Operation oldValue)
Reacts when a StoredInt is modified: push the former value & timestamp
on the stacks.
|
void |
worldCommit(int worldIndex)
Comitting the current world: merging it with the previous one.
|
void |
worldPop(int worldIndex)
Moving down to the previous world.
|
void |
worldPush(int worldIndex)
Moving up to the next world.
|
public void worldPush(int worldIndex)
IStorage
public void worldPop(int worldIndex)
IStorage
public void worldCommit(int worldIndex)
IStorage
worldCommit
in interface IStorage
public void savePreviousState(Operation oldValue)
Copyright © 2015. All rights reserved.