Class BlobStoreWrapper
java.lang.Object
org.opensearch.snapshots.mockstore.BlobStoreWrapper
- All Implemented Interfaces:
Closeable,AutoCloseable,org.opensearch.common.blobstore.BlobStore
- Direct Known Subclasses:
MockRepository.MockBlobStore
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.common.blobstore.BlobStore
org.opensearch.common.blobstore.BlobStore.Metric -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.opensearch.common.blobstore.BlobContainerblobContainer(org.opensearch.common.blobstore.BlobPath path) voidclose()protected org.opensearch.common.blobstore.BlobStoredelegate()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.common.blobstore.BlobStore
extendedStats, isBlobMetadataEnabled, reload, stats
-
Constructor Details
-
BlobStoreWrapper
public BlobStoreWrapper(org.opensearch.common.blobstore.BlobStore delegate)
-
-
Method Details
-
blobContainer
public org.opensearch.common.blobstore.BlobContainer blobContainer(org.opensearch.common.blobstore.BlobPath path) - Specified by:
blobContainerin interfaceorg.opensearch.common.blobstore.BlobStore
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
delegate
protected org.opensearch.common.blobstore.BlobStore delegate()
-