Class AzureRequestOptionsV8
java.lang.Object
org.apache.jackrabbit.oak.segment.azure.util.AzureRequestOptionsV8
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
applyDefaultRequestOptions
(com.microsoft.azure.storage.blob.BlobRequestOptions blobRequestOptions) Apply default request options to the blobRequestOptions if they are not already set.static com.microsoft.azure.storage.blob.BlobRequestOptions
optimiseForWriteOperations
(com.microsoft.azure.storage.blob.BlobRequestOptions blobRequestOptions) Optimise the blob request options for write operations.
-
Method Details
-
applyDefaultRequestOptions
public static void applyDefaultRequestOptions(com.microsoft.azure.storage.blob.BlobRequestOptions blobRequestOptions) Apply default request options to the blobRequestOptions if they are not already set.- Parameters:
blobRequestOptions
-
-
optimiseForWriteOperations
public static com.microsoft.azure.storage.blob.BlobRequestOptions optimiseForWriteOperations(com.microsoft.azure.storage.blob.BlobRequestOptions blobRequestOptions) Optimise the blob request options for write operations. This method does not change the original blobRequestOptions. This method also applies the default request options if they are not already set, by callingapplyDefaultRequestOptions(BlobRequestOptions)
- Parameters:
blobRequestOptions
-- Returns:
- write optimised blobRequestOptions
-