public final class MultipartUploadSlicingAlgorithm extends Object
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_PART_SIZE |
protected Logger |
logger |
Constructor and Description |
---|
MultipartUploadSlicingAlgorithm(long minimumPartSize,
long maximumPartSize,
int maximumNumberOfParts) |
Modifier and Type | Method and Description |
---|---|
void |
addCopied(long copied) |
long |
calculateChunkSize(long length) |
protected long |
getChunkSize() |
long |
getCopied() |
protected long |
getNextChunkOffset() |
protected int |
getNextPart() |
int |
getParts() |
long |
getRemaining() |
void |
setCopied(long copied) |
@Named(value="jclouds.blobstore") protected Logger logger
public static final long DEFAULT_PART_SIZE
public MultipartUploadSlicingAlgorithm(long minimumPartSize, long maximumPartSize, int maximumNumberOfParts)
public long calculateChunkSize(long length)
public long getCopied()
public void setCopied(long copied)
public int getParts()
protected int getNextPart()
public void addCopied(long copied)
protected long getNextChunkOffset()
protected long getChunkSize()
public long getRemaining()
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.