Class BlobStoreWrapper
java.lang.Object
org.elasticsearch.snapshots.mockstore.BlobStoreWrapper
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.elasticsearch.common.blobstore.BlobStore
- Direct Known Subclasses:
MockRepository.MockBlobStore
public class BlobStoreWrapper
extends Object
implements org.elasticsearch.common.blobstore.BlobStore
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.elasticsearch.common.blobstore.BlobContainer
blobContainer
(org.elasticsearch.common.blobstore.BlobPath path) void
close()
protected org.elasticsearch.common.blobstore.BlobStore
delegate()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.common.blobstore.BlobStore
stats
-
Constructor Details
-
BlobStoreWrapper
public BlobStoreWrapper(org.elasticsearch.common.blobstore.BlobStore delegate)
-
-
Method Details
-
blobContainer
public org.elasticsearch.common.blobstore.BlobContainer blobContainer(org.elasticsearch.common.blobstore.BlobPath path) - Specified by:
blobContainer
in interfaceorg.elasticsearch.common.blobstore.BlobStore
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
delegate
protected org.elasticsearch.common.blobstore.BlobStore delegate()
-