|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface DeltaCompressor
The DeltaCompressor interface provides the capability of comparing two in-memory buffers containing an old and a new value, and producing a result (called a "delta") that can be applied to the old value to create the new value.
| Method Summary | |
|---|---|
ReadBuffer |
applyDelta(ReadBuffer bufOld, ReadBuffer bufDelta)Apply a delta to an old value in order to create a new value. |
ReadBuffer |
extractDelta(ReadBuffer bufOld, ReadBuffer bufNew)Compare an old value to a new value and generate a delta that represents the changes that must be made to the old value in order to transform it into the new value. |
| Method Detail |
|---|
ReadBuffer extractDelta(ReadBuffer bufOld,
ReadBuffer bufNew)
If the old value is null, the generated delta must be a "replace", meaning that applying it to any value must produce the specified new value.
bufOld - the old valuebufNew - the new value; must not be null
ReadBuffer applyDelta(ReadBuffer bufOld,
ReadBuffer bufDelta)
bufOld - the old valuebufDelta - the delta information returned from extractDelta(com.tangosol.io.ReadBuffer, com.tangosol.io.ReadBuffer) to apply to the old value
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||