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

    Constructors
    Constructor
    Description
    MockFsBlobStore(int bufferSizeInBytes, Path path, boolean readonly, boolean triggerDataIntegrityFailure)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opensearch.common.blobstore.BlobContainer
    blobContainer(org.opensearch.common.blobstore.BlobPath path)
     

    Methods inherited from class org.opensearch.common.blobstore.fs.FsBlobStore

    bufferSizeInBytes, buildAndCreate, close, path, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods 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:
      blobContainer in interface org.opensearch.common.blobstore.BlobStore
      Overrides:
      blobContainer in class org.opensearch.common.blobstore.fs.FsBlobStore