Class MockFsMetadataSupportedBlobStore

java.lang.Object
org.opensearch.common.blobstore.fs.FsBlobStore
org.opensearch.remotestore.mocks.MockFsMetadataSupportedBlobStore
All Implemented Interfaces:
Closeable, AutoCloseable, org.opensearch.common.blobstore.BlobStore

public class MockFsMetadataSupportedBlobStore 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
    MockFsMetadataSupportedBlobStore(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)
     
    boolean
     

    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, reload, stats
  • Constructor Details

    • MockFsMetadataSupportedBlobStore

      public MockFsMetadataSupportedBlobStore(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
    • isBlobMetadataEnabled

      public boolean isBlobMetadataEnabled()