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, nodeNamepublic FsBlobStore(Settings settings, java.nio.file.Path path) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.nio.file.Path path()
public int bufferSizeInBytes()
public BlobContainer blobContainer(BlobPath path)
BlobStoreBlobPath.blobContainer in interface BlobStorepublic void delete(BlobPath path) throws java.io.IOException
BlobStoreBlobPath.public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseable