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 BlobContainerblobContainer(BlobPath path)Get a blob container instance for storing blobs at the givenBlobPath.intbufferSizeInBytes()voidclose()java.nio.file.Pathpath()java.lang.StringtoString()
-
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:
toStringin classjava.lang.Object
-
path
public java.nio.file.Path path() -
bufferSizeInBytes
public int bufferSizeInBytes() -
blobContainer
Description copied from interface:BlobStoreGet a blob container instance for storing blobs at the givenBlobPath.- Specified by:
blobContainerin interfaceBlobStore
-
close
public void close()- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable
-