public abstract class BlobStrategy
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
BlobStrategy.ChunkEventHandler |
Constructor and Description |
---|
BlobStrategy(Ds3Client client,
MasterObjectList masterObjectList,
int retryAfter,
int retryDelay,
BlobStrategy.ChunkEventHandler chunkEventHandler) |
Modifier and Type | Method and Description |
---|---|
abstract void |
blobCompleted(BulkObject bulkObject) |
protected int |
computeDelay(int retryAfterSeconds) |
BlobStrategy.ChunkEventHandler |
getChunkEventHandler() |
Ds3Client |
getClient() |
MasterObjectList |
getMasterObjectList() |
int |
getRetryAfter() |
int |
getRetryDelay() |
abstract java.lang.Iterable<JobPart> |
getWork() |
public BlobStrategy(Ds3Client client, MasterObjectList masterObjectList, int retryAfter, int retryDelay, BlobStrategy.ChunkEventHandler chunkEventHandler)
public abstract java.lang.Iterable<JobPart> getWork() throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public abstract void blobCompleted(BulkObject bulkObject)
public Ds3Client getClient()
public int getRetryAfter()
public int getRetryDelay()
public BlobStrategy.ChunkEventHandler getChunkEventHandler()
public MasterObjectList getMasterObjectList()
protected int computeDelay(int retryAfterSeconds)