Package org.nuxeo.ecm.blob.azure
Class AzureBinaryManager
java.lang.Object
org.nuxeo.ecm.core.blob.binary.AbstractBinaryManager
org.nuxeo.ecm.core.blob.binary.CachingBinaryManager
org.nuxeo.ecm.blob.AbstractCloudBinaryManager
org.nuxeo.ecm.blob.azure.AzureBinaryManager
- All Implemented Interfaces:
BinaryManager,BlobProvider
- Direct Known Subclasses:
AzureCDNBinaryManager
Deprecated.
- Since:
- 7.10
- Author:
- Arnaud Kervern
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.static final StringDeprecated.protected com.azure.storage.blob.BlobContainerClientDeprecated.static final StringDeprecated.static final StringDeprecated.protected StringDeprecated.static final StringDeprecated.static final StringDeprecated.Fields inherited from class org.nuxeo.ecm.blob.AbstractCloudBinaryManager
CACHE_COUNT_PROPERTY, CACHE_MIN_AGE_PROPERTY, CACHE_SIZE_PROPERTY, DEFAULT_CACHE_COUNT, DEFAULT_CACHE_MIN_AGE, DEFAULT_CACHE_SIZE, DEFAULT_DIRECTDOWNLOAD, DEFAULT_DIRECTDOWNLOAD_EXPIRE, DIGEST_ALGORITHM_PROPERTY, directDownload, DIRECTDOWNLOAD_EXPIRE_PROPERTY, DIRECTDOWNLOAD_PROPERTY, directDownloadExpire, namespace, transientFlagFields inherited from class org.nuxeo.ecm.core.blob.binary.CachingBinaryManager
cachedir, fileCache, fileStorageFields inherited from class org.nuxeo.ecm.core.blob.binary.AbstractBinaryManager
blobProviderId, DEFAULT_DEPTH, DEFAULT_DIGEST, descriptor, digestPattern, DIGESTS_BY_LENGTH, garbageCollector, MAX_BUF_SIZE, MD5_DIGEST, MD5_DIGEST_LENGTH, MIN_BUF_SIZE, properties, SHA1_DIGEST, SHA1_DIGEST_LENGTH, SHA256_DIGEST, SHA256_DIGEST_LENGTHFields inherited from interface org.nuxeo.ecm.core.blob.binary.BinaryManager
PROP_KEY, PROP_PATH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetContentDispositionHeader(Blob blob, jakarta.servlet.http.HttpServletRequest servletRequest) Deprecated.protected FileStorageDeprecated.protected URIgetRemoteUri(String digest, ManagedBlob blob, jakarta.servlet.http.HttpServletRequest servletRequest) Deprecated.protected StringDeprecated.Gets the prefix used for configuration using system properties.protected BinaryGarbageCollectorDeprecated.protected longlengthOfBlob(String digest) Deprecated.voidremoveBinaries(Collection<String> digests) Deprecated.Remove definitively a set of binariesprotected voidremoveBinary(String digest) Deprecated.protected voidDeprecated.Configure Cloud client using propertiesMethods inherited from class org.nuxeo.ecm.blob.AbstractCloudBinaryManager
getBinaryManager, getBooleanProperty, getContentTypeHeader, getDefaultDigestAlgorithm, getIntProperty, getIntProperty, getProperties, getProperty, getProperty, getSystemPropertyName, getURI, initialize, isDirectDownload, isTransient, performsExternalAccessControl, readBlob, supportsUserUpdate, supportsUserUpdateDefaultTrue, writeBlobMethods inherited from class org.nuxeo.ecm.core.blob.binary.CachingBinaryManager
close, getBinary, getBinary, getFile, initializeCache, initializeCache, initializeCacheMethods inherited from class org.nuxeo.ecm.core.blob.binary.AbstractBinaryManager
computeDigestPattern, getBinary, getDescriptor, getDigestAlgorithm, getGarbageCollector, isValidDigest, setDescriptor, storeAndDigest, toHexStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.ecm.core.blob.BlobProvider
allowByteRange, allowDirectDownload, canConvert, close, deleteBlob, getAppLinks, getAvailableConversions, getBinaryGarbageCollector, getFile, getStatus, getStream, getStream, getThumbnail, hasCreateFromKeyPermission, isColdStorageMode, isRecordMode, isTransactional, isVersion, readBlob, supportsSync, updateBlob, writeBlob
-
Field Details
-
ENDPOINT_PROTOCOL_PROPERTY
Deprecated.- See Also:
-
SYSTEM_PROPERTY_PREFIX
Deprecated.- See Also:
-
ACCOUNT_NAME_PROPERTY
Deprecated.- See Also:
-
ACCOUNT_KEY_PROPERTY
Deprecated.- See Also:
-
CONTAINER_PROPERTY
Deprecated.- See Also:
-
PREFIX_PROPERTY
Deprecated.- Since:
- 10.10
- See Also:
-
client
protected com.azure.storage.blob.BlobContainerClient clientDeprecated. -
prefix
Deprecated.
-
-
Constructor Details
-
AzureBinaryManager
public AzureBinaryManager()Deprecated.
-
-
Method Details
-
getSystemPropertyPrefix
Deprecated.Description copied from class:AbstractCloudBinaryManagerGets the prefix used for configuration using system properties.- Specified by:
getSystemPropertyPrefixin classAbstractCloudBinaryManager
-
setupCloudClient
Deprecated.Description copied from class:AbstractCloudBinaryManagerConfigure Cloud client using properties- Specified by:
setupCloudClientin classAbstractCloudBinaryManager- Throws:
IOException
-
instantiateGarbageCollector
Deprecated.- Specified by:
instantiateGarbageCollectorin classAbstractCloudBinaryManager
-
getFileStorage
Deprecated.- Specified by:
getFileStoragein classAbstractCloudBinaryManager
-
getRemoteUri
protected URI getRemoteUri(String digest, ManagedBlob blob, jakarta.servlet.http.HttpServletRequest servletRequest) throws IOException Deprecated.- Overrides:
getRemoteUriin classAbstractCloudBinaryManager- Throws:
IOException
-
getContentDispositionHeader
protected String getContentDispositionHeader(Blob blob, jakarta.servlet.http.HttpServletRequest servletRequest) Deprecated.- Overrides:
getContentDispositionHeaderin classAbstractCloudBinaryManager
-
removeBinary
Deprecated. -
removeBinaries
Deprecated.Description copied from interface:BinaryManagerRemove definitively a set of binaries- Specified by:
removeBinariesin interfaceBinaryManager- Specified by:
removeBinariesin classAbstractCloudBinaryManager- Parameters:
digests- a set of digests, must not benull.
-
lengthOfBlob
Deprecated.- Returns:
- the length of the blob with the given
digest, or -1 if missing - Since:
- 11.5
-
AzureBlobProviderinstead