Class URLBlobStore
java.lang.Object
org.opensearch.common.blobstore.url.URLBlobStore
- All Implemented Interfaces:
Closeable,AutoCloseable,BlobStore
Read-only URL-based blob store
-
Constructor Summary
ConstructorsConstructorDescriptionURLBlobStore(Settings settings, URL path) Constructs new read-only URL-based blob store -
Method Summary
Modifier and TypeMethodDescriptionblobContainer(BlobPath path) intReturns read buffer sizevoidclose()path()Returns base URLtoString()
-
Constructor Details
-
URLBlobStore
Constructs new read-only URL-based blob storeThe following settings are supported
- buffer_size
- - size of the read buffer, defaults to 100KB
- Parameters:
settings- settingspath- base URL
-
-
Method Details
-
toString
-
path
Returns base URL- Returns:
- base URL
-
bufferSizeInBytes
public int bufferSizeInBytes()Returns read buffer size- Returns:
- read buffer size
-
blobContainer
- Specified by:
blobContainerin interfaceBlobStore
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-