Class FsBlobStore
- java.lang.Object
-
- org.elasticsearch.common.blobstore.fs.FsBlobStore
-
-
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 givenBlobPath
.int
bufferSizeInBytes()
void
close()
java.nio.file.Path
path()
java.lang.String
toString()
-
-
-
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 classjava.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 givenBlobPath
.- Specified by:
blobContainer
in interfaceBlobStore
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
-
-