Class 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​(Settings settings, 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()  
      void delete​(BlobPath path)
      Delete the blob store at the given BlobPath.
      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
    • Constructor Detail

      • FsBlobStore

        public FsBlobStore​(Settings settings,
                           java.nio.file.Path path,
                           boolean readonly)
                    throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • toString

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

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

        public int bufferSizeInBytes()
      • delete

        public void delete​(BlobPath path)
                    throws java.io.IOException
        Description copied from interface: BlobStore
        Delete the blob store at the given BlobPath.
        Specified by:
        delete in interface BlobStore
        Throws:
        java.io.IOException
      • close

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