public interface ILfnReadCallback extends ILfnCallback<ALfnTileStore.ReadResult>
ILfnCallback
which 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 ILfnGetTileHandler
.Modifier and Type | Method and Description |
---|---|
void |
found(long aContentLength,
long aModificationTime)
A non-final callback made right before content will be written to the receiver's channel.
|
completed, threw
void found(long aContentLength, long aModificationTime)
aContentLength
- the content length in bytesaModificationTime
- the modification time in milliseconds since epoch