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: