public interface Delta
|Modifier and Type||Method and Description|
This method is invoked on an existing application object when an update is received as a delta.
Returns true if this object has pending changes it can write out.
This method is invoked on an application object at the delta sender, if GemFire determines the presence of a delta by calling
void toDelta(DataOutput out) throws IOException
hasDelta()on the object. The delta is written to the
DataOutputobject provided by GemFire. Any delta state should be reset in this method.
void fromDelta(DataInput in) throws IOException, InvalidDeltaException
InvalidDeltaExceptionwhen the delta in the
DataInputcannot be applied to the object. GemFire automatically handles an
InvalidDeltaExceptionby reattempting the update by sending the full application object.
Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.