org.jclouds.aws.s3.blobstore.strategy.internal
Class MultipartUploadSlicingAlgorithm

java.lang.Object
  extended by org.jclouds.aws.s3.blobstore.strategy.internal.MultipartUploadSlicingAlgorithm

public class MultipartUploadSlicingAlgorithm
extends Object


Field Summary
protected  Logger logger
           
 
Constructor Summary
MultipartUploadSlicingAlgorithm()
           
 
Method Summary
protected  void addCopied(long copied)
           
protected  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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

@Named(value="jclouds.blobstore")
protected Logger logger
Constructor Detail

MultipartUploadSlicingAlgorithm

public MultipartUploadSlicingAlgorithm()
Method Detail

calculateChunkSize

protected long calculateChunkSize(long length)

getCopied

public long getCopied()

setCopied

public void setCopied(long copied)

getParts

protected int getParts()

getNextPart

protected int getNextPart()

addCopied

protected void addCopied(long copied)

getNextChunkOffset

protected long getNextChunkOffset()

getChunkSize

protected long getChunkSize()

getRemaining

protected long getRemaining()


Copyright © 2009-2011 jclouds. All Rights Reserved.