Class BlobStoreWrapper
java.lang.Object
org.elasticsearch.snapshots.mockstore.BlobStoreWrapper
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,org.elasticsearch.common.blobstore.BlobStore
- Direct Known Subclasses:
MockRepository.MockBlobStore
public class BlobStoreWrapper
extends java.lang.Object
implements org.elasticsearch.common.blobstore.BlobStore
-
Constructor Summary
Constructors Constructor Description BlobStoreWrapper(org.elasticsearch.common.blobstore.BlobStore delegate)
-
Method Summary
Modifier and Type Method Description org.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
public void close() throws java.io.IOException- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
delegate
protected org.elasticsearch.common.blobstore.BlobStore delegate()
-