Package org.nuxeo.ecm.core.blob
Class InMemoryBlobProvider
java.lang.Object
org.nuxeo.ecm.core.blob.AbstractBlobProvider
org.nuxeo.ecm.core.blob.BlobStoreBlobProvider
org.nuxeo.ecm.core.blob.InMemoryBlobProvider
- All Implemented Interfaces:
- BlobProvider
Blob storage in memory, mostly for unit tests.
- Since:
- 11.1
- 
Nested Class SummaryNested classes/interfaces inherited from class org.nuxeo.ecm.core.blob.BlobStoreBlobProviderBlobStoreBlobProvider.AutoDeleteFileInputStream
- 
Field SummaryFieldsFields inherited from class org.nuxeo.ecm.core.blob.BlobStoreBlobProviderDIGEST_KEY_STRATEGY, KEY_STRATEGY_PROPERTY, MANAGED_KEY_STRATEGY, storeFields inherited from class org.nuxeo.ecm.core.blob.AbstractBlobProviderblobProviderId, properties
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()Closes this blob provider and releases resources that may be held by it.protected BlobStoregetBlobStore(String blobProviderId, Map<String, String> properties) protected StringThe digest algorithm to use for the default key strategy.Gets the name of the scroll to scroll the blobs of the underlying blob store.Methods inherited from class org.nuxeo.ecm.core.blob.BlobStoreBlobProviderallowDirectDownload, deleteBlob, fixupDigest, getBinaryGarbageCollector, getFile, getKeyStrategy, getStream, getStream, initialize, isValidKey, readBlob, stripBlobKeyPrefix, stripBlobKeyVersionSuffix, supportsSync, updateBlob, writeBlob, writeBlobMethods inherited from class org.nuxeo.ecm.core.blob.AbstractBlobProviderallowByteRange, getProperties, hasCreateFromKeyPermission, isColdStorageMode, isRecordMode, isTransactional, isTransient, supportsUserUpdate, supportsUserUpdateDefaultFalse, supportsUserUpdateDefaultTrueMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.ecm.core.blob.BlobProvidercanConvert, getAppLinks, getAvailableConversions, getBinaryManager, getStatus, getThumbnail, getURI, isVersion, performsExternalAccessControl, readBlob
- 
Field Details- 
STORE_SCROLL_NAME- Since:
- 2023
- See Also:
 
- 
digestConfiguration
 
- 
- 
Constructor Details- 
InMemoryBlobProviderpublic InMemoryBlobProvider()
 
- 
- 
Method Details- 
getBlobStoreprotected BlobStore getBlobStore(String blobProviderId, Map<String, String> properties) throws IOException- Specified by:
- getBlobStorein class- BlobStoreBlobProvider
- Throws:
- IOException
 
- 
closepublic void close()Description copied from interface:BlobProviderCloses this blob provider and releases resources that may be held by it.
- 
getDigestAlgorithmDescription copied from class:BlobStoreBlobProviderThe digest algorithm to use for the default key strategy.- Specified by:
- getDigestAlgorithmin class- BlobStoreBlobProvider
 
- 
getStoreScrollNameDescription copied from class:BlobStoreBlobProviderGets the name of the scroll to scroll the blobs of the underlying blob store.- Specified by:
- getStoreScrollNamein class- BlobStoreBlobProvider
 
 
-