com.ning.http.client.resumable.ResumableAsyncHandler.ResumableProcessor |
![]() |
An interface to implement in order to manage the way the incomplete file management are handled.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Load the Map in memory, contains information about the transferred bytes.
| |||||||||||
Associate a key with the number of bytes sucessfully transferred.
| |||||||||||
Remove the key associate value.
| |||||||||||
Save the current Map instance which contains information about the current transfer state.
|
Load the Map in memory, contains information about the transferred bytes.
Associate a key with the number of bytes sucessfully transferred.
key | a key. The recommended way is to use an url. |
---|---|
transferredBytes | The number of bytes sucessfully transferred. |
Remove the key associate value.
key | key from which the value will be discarted |
---|
Save the current Map instance which contains information about the current transfer state. This method *only* invoked when the JVM is shutting down.