public class URLBlobStore extends AbstractComponent implements BlobStore
deprecationLogger, logger, settings
Constructor and Description |
---|
URLBlobStore(Settings settings,
java.net.URL path)
Constructs new read-only URL-based blob store
|
Modifier and Type | Method and Description |
---|---|
BlobContainer |
blobContainer(BlobPath path)
Get a blob container instance for storing blobs at the given
BlobPath . |
int |
bufferSizeInBytes()
Returns read buffer size
|
void |
close() |
void |
delete(BlobPath path)
This operation is not supported by URL Blob Store
|
java.net.URL |
path()
Returns base URL
|
java.lang.String |
toString() |
logDeprecatedSetting, logRemovedSetting, nodeName
public URLBlobStore(Settings settings, java.net.URL path)
The following settings are supported
settings
- settingspath
- base URLpublic java.lang.String toString()
toString
in class java.lang.Object
public java.net.URL path()
public int bufferSizeInBytes()
public BlobContainer blobContainer(BlobPath path)
BlobPath
.blobContainer
in interface BlobStore
public void delete(BlobPath path)
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable