public class FsBlobStore extends AbstractComponent implements BlobStore
deprecationLogger, logger, settings
Constructor and Description |
---|
FsBlobStore(Settings settings,
java.nio.file.Path path) |
Modifier and Type | Method and 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() |
logDeprecatedSetting, logRemovedSetting, nodeName
public FsBlobStore(Settings settings, java.nio.file.Path path) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public java.nio.file.Path path()
public int bufferSizeInBytes()
public BlobContainer blobContainer(BlobPath path)
BlobStore
BlobPath
.blobContainer
in interface BlobStore
public void delete(BlobPath path) throws java.io.IOException
BlobStore
BlobPath
.public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable