Class FsBlobStore
- java.lang.Object
-
- org.elasticsearch.common.blobstore.fs.FsBlobStore
-
- All Implemented Interfaces:
Closeable,AutoCloseable,BlobStore
public class FsBlobStore extends Object implements BlobStore
-
-
Constructor Summary
Constructors Constructor Description FsBlobStore(Settings settings, Path path, boolean readonly)
-
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()Pathpath()StringtoString()
-
-
-
Constructor Detail
-
FsBlobStore
public FsBlobStore(Settings settings, Path path, boolean readonly) throws IOException
- Throws:
IOException
-
-
Method Detail
-
path
public 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
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-