|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.NullImplementation.NullDeltaCompressor
public static class NullImplementation.NullDeltaCompressor
An implementation of a DeltaCompressor that does nothing and always returns the new stream.
Field Summary | |
---|---|
static DeltaCompressor |
INSTANCE Singleton instance. |
Constructor Summary | |
---|---|
NullImplementation.NullDeltaCompressor() |
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. |
Field Detail |
---|
public static final DeltaCompressor INSTANCE
Constructor Detail |
---|
public NullImplementation.NullDeltaCompressor()
Method Detail |
---|
public ReadBuffer extractDelta(ReadBuffer bufOld, ReadBuffer bufNew)
extractDelta
in interface DeltaCompressor
bufOld
- the old valuebufNew
- the new valuepublic ReadBuffer applyDelta(ReadBuffer bufOld, ReadBuffer bufDelta)
applyDelta
in interface DeltaCompressor
bufOld
- the old valuebufDelta
- the delta information returned from DeltaCompressor.extractDelta(com.tangosol.io.ReadBuffer, com.tangosol.io.ReadBuffer)
to apply to the old value
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |