public interface SplitFileInserterStorageCallback
Modifier and Type | Method and Description |
---|---|
void |
clearCooldown()
Called when a block becomes fetchable (unless because of an encode, in which case we only
call encodingProgress() )
|
void |
encodingProgress()
Called after finishing encoding the check blocks and block keys for another segment.
|
short |
getPriorityClass()
Get request priority class for FEC jobs etc
|
void |
onFailed(InsertException e)
Called if the insert fails.
|
void |
onFinishedEncode()
All the segments (and possibly cross-segments) have been encoded.
|
void |
onHasKeys()
Called when all segments have been encoded.
|
void |
onInsertedBlock()
Called when a block is inserted successfully
|
void |
onSucceeded(Metadata metadata)
Called when the whole insert has succeeded, i.e.
|
void onFinishedEncode()
void encodingProgress()
void onHasKeys()
void onSucceeded(Metadata metadata)
void onFailed(InsertException e)
void onInsertedBlock()
void clearCooldown()
short getPriorityClass()