Class FsBlobStore

java.lang.Object
org.elasticsearch.common.blobstore.fs.FsBlobStore
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable, BlobStore

public class FsBlobStore
extends java.lang.Object
implements BlobStore
  • Constructor Summary

    Constructors
    Constructor Description
    FsBlobStore​(int bufferSizeInBytes, java.nio.file.Path path, boolean readonly)  
  • Method Summary

    Modifier and Type Method Description
    BlobContainer blobContainer​(BlobPath path)
    Get a blob container instance for storing blobs at the given BlobPath.
    int bufferSizeInBytes()  
    void close()  
    java.nio.file.Path path()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface org.elasticsearch.common.blobstore.BlobStore

    stats
  • Constructor Details

    • FsBlobStore

      public FsBlobStore​(int bufferSizeInBytes, java.nio.file.Path path, boolean readonly) throws java.io.IOException
      Throws:
      java.io.IOException
  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • path

      public java.nio.file.Path path()
    • bufferSizeInBytes

      public int bufferSizeInBytes()
    • blobContainer

      public BlobContainer blobContainer​(BlobPath path)
      Description copied from interface: BlobStore
      Get a blob container instance for storing blobs at the given BlobPath.
      Specified by:
      blobContainer in interface BlobStore
    • close

      public void close()
      Specified by:
      close in interface java.lang.AutoCloseable
      Specified by:
      close in interface java.io.Closeable