|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-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 java.io.IOException
inOld
- the BuferInput for the old valueinNew
- the BuferInput for the new valuejava.io.IOException
- if some use of the underlying streams throws an exceptionMethod Detail |
---|
public void advance(boolean fSame) throws java.io.IOException
fSame
- pass true if the most recently scanned region of the streams was identical; false otherwisejava.io.IOException
- if some use of the underlying streams throws an exceptionpublic Binary getDelta() throws java.io.IOException
java.io.IOException
- if some use of the underlying streams throws an exception
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |