Package com.gpudb.filesystem.download
Class MultiPartDownloadInfo
- java.lang.Object
-
- com.gpudb.filesystem.download.MultiPartDownloadInfo
-
public class MultiPartDownloadInfo extends Object
This is an internal class and not meant to be used by the end users of the filesystem API. The consequences of using this class directly in client code is not guaranteed and maybe undesirable. This class packages and mimics certain important attributes of a multi-part download operation. The attributes of this class are in one-one correspondence to those specified in theGPUdb.downloadFiles(List, List, List, Map)endpoint.
-
-
Constructor Summary
Constructors Constructor Description MultiPartDownloadInfo()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteBuffergetData()longgetDownloadPartNumber()longgetReadLength()longgetReadOffset()longgetTotalParts()voidsetData(ByteBuffer data)voidsetDownloadPartNumber(long downloadPartNumber)voidsetReadLength(long readLength)voidsetReadOffset(long readOffset)voidsetTotalParts(long totalParts)
-
-
-
Method Detail
-
getReadOffset
public long getReadOffset()
-
setReadOffset
public void setReadOffset(long readOffset)
-
getReadLength
public long getReadLength()
-
setReadLength
public void setReadLength(long readLength)
-
getDownloadPartNumber
public long getDownloadPartNumber()
-
setDownloadPartNumber
public void setDownloadPartNumber(long downloadPartNumber)
-
getTotalParts
public long getTotalParts()
-
setTotalParts
public void setTotalParts(long totalParts)
-
getData
public ByteBuffer getData()
-
setData
public void setData(ByteBuffer data)
-
-