gzz.impl
Class ModularDeltaSpace
java.lang.Object
|
+--gzz.impl.AbstractSpace
|
+--gzz.impl.ModularSpace
|
+--gzz.impl.ModularDeltaSpace
- All Implemented Interfaces:
- DeltaSpace, SliceSpace, Space
- public class ModularDeltaSpace
- extends ModularSpace
- implements DeltaSpace
ModularSpace extended to implement gzz.diff.DeltaSpace
Field Summary |
static java.lang.String |
rcsid
|
Methods inherited from class gzz.impl.ModularSpace |
delete, exists, getCell, getCloneDim, getDim, getDims, getHomeCell, getIdentity, getIdentity, getMediaserver, getMSBlockCell, N, N |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface gzz.Space |
delete, exists, getCell, getCellTexter, getCloneDim, getDim, getDim, getDims, getHomeCell, getIdentity, getIdentity, getJavaObjector, getMediaserver, getMSBlockCell, getObsTrigger, N, N, N, N, zzclone |
rcsid
public static final java.lang.String rcsid
- See Also:
- Constant Field Values
ModularDeltaSpace
public ModularDeltaSpace(ModularCellTexter cellTexter,
CellManager cellManager,
DimManager dimManager,
IdentityManager identityManager,
Slicer slicer,
ObsTrigger obsTrigger)
checkpointDelta
public Delta checkpointDelta()
- Description copied from interface:
DeltaSpace
- Get the set of changes.
Returns the changes since a previous getDelta in a Delta object.
- Specified by:
checkpointDelta
in interface DeltaSpace
getDeltaFromZero
public Delta getDeltaFromZero()
- Description copied from interface:
DeltaSpace
- Get the set of changes needed to take a space from zero
to the current state of this space.
- Specified by:
getDeltaFromZero
in interface DeltaSpace
applyDelta
public void applyDelta(Delta delta)
- Description copied from interface:
DeltaSpace
- Apply a delta to this space.
Also triggers observers.
However, a change applied by applyDelta is NOT visible in the next
getDelta().
Note: calling applyDelta may throw InconsistentChangeException,
in which case the state of the space is undefined.
- Specified by:
applyDelta
in interface DeltaSpace