Package com.tangosol.io.pof
Class PofDeltaCompressor.ChangeTracker
java.lang.Object
com.tangosol.io.pof.PofDeltaCompressor.ChangeTracker
- Enclosing class:
- PofDeltaCompressor
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 SummaryConstructorsConstructorDescriptionChangeTracker(ReadBuffer.BufferInput inOld, ReadBuffer.BufferInput inNew) Construct a ChangeTracker that will produce a delta between the two passed streams.
- 
Method Summary
- 
Constructor Details- 
ChangeTrackerConstruct a ChangeTracker that will produce a delta between the two passed streams.- Parameters:
- inOld- the BuferInput for the old value
- inNew- the BuferInput for the new value
- Throws:
- IOException- if some use of the underlying streams throws an exception
 
 
- 
- 
Method Details- 
advanceUpdate the tracker to indicate that the most recently scanned region was the same or different.- Parameters:
- fSame- pass true if the most recently scanned region of the streams was identical; false otherwise
- Throws:
- IOException- if some use of the underlying streams throws an exception
 
- 
getDeltaObtain the final delta result as a Binary value.- Returns:
- a Binary containing the delta value
- Throws:
- IOException- if some use of the underlying streams throws an exception
 
 
-