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 | Description | |
---|---|---|
Blob |
Modifier and Type | Method and Description |
---|---|
Consistent |
get |
Long |
get Gets the starting position of the resulting SeekableByteChannel. |
Integer |
get |
Blob |
get |
Blob |
set |
Blob |
set Sets the starting position of the resulting SeekableByteChannel. |
Blob |
set |
Blob |
set |
Methods inherited from java.lang.Object
BlobSeekableByteChannelReadOptions
public BlobSeekableByteChannelReadOptions()
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:
Azure SDK for Java-feedback
Azure SDK for Java is een open source project. Selecteer een koppeling om feedback te geven: