use of com.microsoft.azure.storage.RequestOptions in project jackrabbit-oak by apache.
the class AzureBlobStoreBackend method getAzureContainer.
protected CloudBlobContainer getAzureContainer() throws DataStoreException {
CloudBlobContainer container = Utils.getBlobContainer(connectionString, containerName);
RequestOptions requestOptions = container.getServiceClient().getDefaultRequestOptions();
if (retryPolicy != null) {
requestOptions.setRetryPolicyFactory(retryPolicy);
}
if (requestTimeout != null) {
requestOptions.setTimeoutIntervalInMs(requestTimeout);
}
return container;
}
Aggregations