Class FsBlobStore
- java.lang.Object
-
- org.elasticsearch.common.blobstore.fs.FsBlobStore
-
-
Constructor Summary
Constructors Constructor Description FsBlobStore(Settings settings, java.nio.file.Path path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlobContainerblobContainer(BlobPath path)Get a blob container instance for storing blobs at the givenBlobPath.intbufferSizeInBytes()voidclose()voiddelete(BlobPath path)Delete the blob store at the givenBlobPath.java.nio.file.Pathpath()java.lang.StringtoString()
-
-
-
Constructor Detail
-
FsBlobStore
public FsBlobStore(Settings settings, java.nio.file.Path path) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
path
public java.nio.file.Path path()
-
bufferSizeInBytes
public int bufferSizeInBytes()
-
blobContainer
public BlobContainer blobContainer(BlobPath path)
Description copied from interface:BlobStoreGet a blob container instance for storing blobs at the givenBlobPath.- Specified by:
blobContainerin interfaceBlobStore
-
delete
public void delete(BlobPath path) throws java.io.IOException
Description copied from interface:BlobStoreDelete the blob store at the givenBlobPath.
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable
-
-