java.lang.Object
org.elasticsearch.common.blobstore.fs.FsBlobStore
- All Implemented Interfaces:
Closeable
,AutoCloseable
,BlobStore
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionblobContainer
(BlobPath path) Get a blob container instance for storing blobs at the givenBlobPath
.int
void
close()
void
deleteBlobsIgnoringIfNotExists
(OperationPurpose purpose, Iterator<String> blobNames) Delete all the provided blobs from the blob store.path()
toString()
-
Constructor Details
-
FsBlobStore
- Throws:
IOException
-
-
Method Details
-
toString
-
path
-
bufferSizeInBytes
public int bufferSizeInBytes() -
blobContainer
Description copied from interface:BlobStore
Get a blob container instance for storing blobs at the givenBlobPath
.- Specified by:
blobContainer
in interfaceBlobStore
-
deleteBlobsIgnoringIfNotExists
public void deleteBlobsIgnoringIfNotExists(OperationPurpose purpose, Iterator<String> blobNames) throws IOException Description copied from interface:BlobStore
Delete all the provided blobs from the blob store. Each blob could belong to a differentBlobContainer
- Specified by:
deleteBlobsIgnoringIfNotExists
in interfaceBlobStore
- Parameters:
purpose
- the purpose of the delete operationblobNames
- the blobs to be deleted- Throws:
IOException
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-