DataFileReader.blockStart is hidden from the caller, but exposing it (as readonly) would allow callers to discover sync points in a file by watching it for changes.
seek(long) only takes an exact block boundary, while sync(long) moves to the next block boundary. There does not appear to be a way to rediscover points that you can seek() to, which would be very useful for building or recovering an index for a file.
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Status||Patch Available [ 10002 ]||Resolved [ 5 ]|
|Assignee||Stu Hood [ stuhood ]|
|Resolution||Fixed [ 1 ]|
|Status||Open [ 1 ]||Patch Available [ 10002 ]|
|Fix Version/s||1.4.0 [ 12314789 ]|
|Issue Type||New Feature [ 2 ]||Bug [ 1 ]|
|Attachment||0001-Add-previousSync-method-for-sync-point-discovery-and.patch [ 12453655 ]|
|Field||Original Value||New Value|
|Component/s||java [ 12312780 ]|