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 |
---|---|
protected void |
addCopied(long copied) |
long |
calculateChunkSize(long length) |
protected long |
getChunkSize() |
long |
getCopied() |
protected long |
getNextChunkOffset() |
protected int |
getNextPart() |
protected int |
getParts() |
protected 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)
protected int getParts()
protected int getNextPart()
protected void addCopied(long copied)
protected long getNextChunkOffset()
protected long getChunkSize()
protected long getRemaining()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.