|
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.io.pof.PofDeltaCompressor.ChangeTracker
protected static class PofDeltaCompressor.ChangeTracker
When determining a delta between two POF buffers, the ChangeTracker keeps track of whether the current location within the two POF streams is part of a differing portion or part of an identical portion.
Constructor Summary | |
---|---|
PofDeltaCompressor.ChangeTracker(ReadBuffer.BufferInput inOld, ReadBuffer.BufferInput inNew) Construct a ChangeTracker that will produce a delta between the two passed streams. |
Method Summary | |
---|---|
void |
advance(boolean fSame) Update the tracker to indicate that the most recently scanned region was the same or different. |
Binary |
getDelta() Obtain the final delta result as a Binary value. |
Constructor Detail |
---|
public PofDeltaCompressor.ChangeTracker(ReadBuffer.BufferInput inOld, ReadBuffer.BufferInput inNew) throws IOException
inOld
- the BuferInput for the old valueinNew
- the BuferInput for the new valueIOException
- if some use of the underlying streams throws an exceptionMethod Detail |
---|
public void advance(boolean fSame) throws IOException
fSame
- pass true if the most recently scanned region of the streams was identical; false otherwiseIOException
- if some use of the underlying streams throws an exceptionpublic Binary getDelta() throws IOException
IOException
- if some use of the underlying streams throws an exception
|
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 |