你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BlobSeekableByteChannelReadOptions Class
- java.
lang. Object - com.
azure. storage. blob. options. BlobSeekableByteChannelReadOptions
- com.
public final class BlobSeekableByteChannelReadOptions
Extended options that may be passed when opening a blob seekable byte channel for reading.
Constructor Summary
Constructor | Description | |
---|---|---|
BlobSeekableByteChannelReadOptions() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Consistent |
getConsistentReadControl() |
Long |
getInitialPosition()
Gets the starting position of the resulting SeekableByteChannel. |
Integer | getReadSizeInBytes() |
Blob |
getRequestConditions() |
Blob |
setConsistentReadControl(ConsistentReadControl consistentReadControl) |
Blob |
setInitialPosition(Long initialPosition)
Sets the starting position of the resulting SeekableByteChannel. |
Blob |
setReadSizeInBytes(Integer readSizeInBytes) |
Blob |
setRequestConditions(BlobRequestConditions requestConditions) |
Methods inherited from java.lang.Object
Constructor Details
BlobSeekableByteChannelReadOptions
public BlobSeekableByteChannelReadOptions()
Method Details
getConsistentReadControl
public ConsistentReadControl getConsistentReadControl()
Returns:
getInitialPosition
public Long getInitialPosition()
Gets the starting position of the resulting SeekableByteChannel. The channel will come with a prefetched range starting at this position.
Returns:
getReadSizeInBytes
public Integer getReadSizeInBytes()
Returns:
getRequestConditions
setConsistentReadControl
public BlobSeekableByteChannelReadOptions setConsistentReadControl(ConsistentReadControl consistentReadControl)
Parameters:
Returns:
setInitialPosition
public BlobSeekableByteChannelReadOptions setInitialPosition(Long initialPosition)
Sets the starting position of the resulting SeekableByteChannel. The channel will come with a prefetched range starting at this position.
Parameters:
Returns:
setReadSizeInBytes
public BlobSeekableByteChannelReadOptions setReadSizeInBytes(Integer readSizeInBytes)
Parameters:
Returns:
setRequestConditions
public BlobSeekableByteChannelReadOptions setRequestConditions(BlobRequestConditions requestConditions)
Parameters:
Returns: