public interface ILfnReadCallback extends ILfnCallback<ALfnTileStore.ReadResult>
ILfnCallbackwhich adds a specific callback for when content is found. When content is found, it marks a non-final state in the read operation's life cycle: writing to the receiver's channel has yet to commence. When all content is written, a final call to
ILfnCallback.completed(Object)will be made. This callback replaces
|Modifier and Type||Method and Description|
A non-final callback made right before content will be written to the receiver's channel.
void found(long aContentLength, long aModificationTime)
aContentLength- the content length in bytes
aModificationTime- the modification time in milliseconds since epoch