Class MockFsBlobStore
java.lang.Object
org.opensearch.common.blobstore.fs.FsBlobStore
org.opensearch.remotestore.multipart.mocks.MockFsBlobStore
- All Implemented Interfaces:
Closeable,AutoCloseable,org.opensearch.common.blobstore.BlobStore
public class MockFsBlobStore
extends org.opensearch.common.blobstore.fs.FsBlobStore
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.common.blobstore.BlobStore
org.opensearch.common.blobstore.BlobStore.Metric -
Constructor Summary
ConstructorsConstructorDescriptionMockFsBlobStore(int bufferSizeInBytes, Path path, boolean readonly, boolean triggerDataIntegrityFailure) -
Method Summary
Modifier and TypeMethodDescriptionorg.opensearch.common.blobstore.BlobContainerblobContainer(org.opensearch.common.blobstore.BlobPath path) Methods inherited from class org.opensearch.common.blobstore.fs.FsBlobStore
bufferSizeInBytes, buildAndCreate, close, path, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opensearch.common.blobstore.BlobStore
extendedStats, isBlobMetadataEnabled, reload, stats
-
Constructor Details
-
MockFsBlobStore
public MockFsBlobStore(int bufferSizeInBytes, Path path, boolean readonly, boolean triggerDataIntegrityFailure) throws IOException - Throws:
IOException
-
-
Method Details
-
blobContainer
public org.opensearch.common.blobstore.BlobContainer blobContainer(org.opensearch.common.blobstore.BlobPath path) - Specified by:
blobContainerin interfaceorg.opensearch.common.blobstore.BlobStore- Overrides:
blobContainerin classorg.opensearch.common.blobstore.fs.FsBlobStore
-