BlobInputStreamOptions Class
- java.
lang. Object - com.
azure. storage. blob. options. BlobInputStreamOptions
- com.
public class BlobInputStreamOptions
Extended options that may be passed when opening a blob input stream.
Constructor Summary
Constructor | Description | |
---|---|---|
BlobInputStreamOptions() |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
BlobInputStreamOptions
public BlobInputStreamOptions()
Method Details
getBlockSize
public Integer getBlockSize()
Returns:
The size of each data chunk returned from the service. If block size is large, input stream will make
fewer network calls, but each individual call will send more data and will therefore take longer.
The default value is 4 MB.
getConsistentReadControl
public ConsistentReadControl getConsistentReadControl()
Returns:
ConsistentReadControl Default is E-Tag.
getRange
getRequestConditions
setBlockSize
public BlobInputStreamOptions setBlockSize(Integer blockSize)
Parameters:
blockSize
- The size of each data chunk returned from the service. If block size is large, input stream
will make fewer network calls, but each individual call will send more data and will therefore take longer.
The default value is 4 MB.
Returns:
The updated options.
setConsistentReadControl
public BlobInputStreamOptions setConsistentReadControl(ConsistentReadControl consistentReadControl)
Parameters:
consistentReadControl
- ConsistentReadControl Default is E-Tag.
Returns:
The updated options.
setRange
public BlobInputStreamOptions setRange(BlobRange range)
Parameters:
range
- BlobRange
Returns:
The updated options.
setRequestConditions
public BlobInputStreamOptions setRequestConditions(BlobRequestConditions requestConditions)
Parameters:
requestConditions
- BlobRequestConditions
Returns:
The updated options.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java