Class AzureBlobContainerProvider
- java.lang.Object
-
- org.apache.jackrabbit.oak.blob.cloud.azure.blobstorage.AzureBlobContainerProvider
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class AzureBlobContainerProvider extends Object implements Closeable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AzureBlobContainerProvider.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
@NotNull String
generateSharedAccessSignature(com.microsoft.azure.storage.blob.BlobRequestOptions requestOptions, String key, EnumSet<com.microsoft.azure.storage.blob.SharedAccessBlobPermissions> permissions, int expirySeconds, com.microsoft.azure.storage.blob.SharedAccessBlobHeaders optionalHeaders)
@NotNull com.microsoft.azure.storage.blob.CloudBlobContainer
getBlobContainer()
@NotNull com.microsoft.azure.storage.blob.CloudBlobContainer
getBlobContainer(@Nullable com.microsoft.azure.storage.blob.BlobRequestOptions blobRequestOptions)
String
getContainerName()
-
-
-
Method Detail
-
getContainerName
public String getContainerName()
-
getBlobContainer
@NotNull public @NotNull com.microsoft.azure.storage.blob.CloudBlobContainer getBlobContainer() throws DataStoreException
- Throws:
DataStoreException
-
getBlobContainer
@NotNull public @NotNull com.microsoft.azure.storage.blob.CloudBlobContainer getBlobContainer(@Nullable @Nullable com.microsoft.azure.storage.blob.BlobRequestOptions blobRequestOptions) throws DataStoreException
- Throws:
DataStoreException
-
generateSharedAccessSignature
@NotNull public @NotNull String generateSharedAccessSignature(com.microsoft.azure.storage.blob.BlobRequestOptions requestOptions, String key, EnumSet<com.microsoft.azure.storage.blob.SharedAccessBlobPermissions> permissions, int expirySeconds, com.microsoft.azure.storage.blob.SharedAccessBlobHeaders optionalHeaders) throws DataStoreException, URISyntaxException, com.microsoft.azure.storage.StorageException, InvalidKeyException
- Throws:
DataStoreException
URISyntaxException
com.microsoft.azure.storage.StorageException
InvalidKeyException
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
-