public class URLRepository extends BlobStoreRepository
This repository supports the following settings
url
concurrent_streams
Repository.Factory
Modifier and Type | Field and Description |
---|---|
static Setting<java.util.List<URIPattern>> |
ALLOWED_URLS_SETTING |
static Setting<java.net.URL> |
REPOSITORIES_URL_SETTING |
static Setting<java.util.List<java.lang.String>> |
SUPPORTED_PROTOCOLS_SETTING |
static java.lang.String |
TYPE |
static Setting<java.net.URL> |
URL_SETTING |
metadata, namedXContentRegistry
lifecycle
deprecationLogger, logger, settings
Constructor and Description |
---|
URLRepository(RepositoryMetaData metadata,
Environment environment,
NamedXContentRegistry namedXContentRegistry)
Constructs a read-only URL-based repository
|
Modifier and Type | Method and Description |
---|---|
protected BlobPath |
basePath()
Returns base path of the repository
|
protected BlobStore |
blobStore()
Returns the BlobStore to read and write data.
|
boolean |
isReadOnly()
Returns true if the repository supports only read operations
|
chunkSize, deleteSnapshot, doClose, doStart, doStop, endVerification, finalizeSnapshot, getMetadata, getRepositoryData, getRestoreThrottleTimeInNanos, getShardSnapshotStatus, getSnapshotInfo, getSnapshotMetaData, getSnapshotThrottleTimeInNanos, initializeSnapshot, isCompress, legacyMetaData, restoreShard, snapshotShard, startVerification, testBlobPrefix, toString, verify, writeIndexGen
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stop
logDeprecatedSetting, logRemovedSetting, nodeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addLifecycleListener, lifecycleState, removeLifecycleListener, start, stop
close
public static final java.lang.String TYPE
public static final Setting<java.util.List<java.lang.String>> SUPPORTED_PROTOCOLS_SETTING
public static final Setting<java.util.List<URIPattern>> ALLOWED_URLS_SETTING
public static final Setting<java.net.URL> URL_SETTING
public static final Setting<java.net.URL> REPOSITORIES_URL_SETTING
public URLRepository(RepositoryMetaData metadata, Environment environment, NamedXContentRegistry namedXContentRegistry) throws java.io.IOException
java.io.IOException
protected BlobStore blobStore()
BlobStoreRepository
blobStore
in class BlobStoreRepository
protected BlobPath basePath()
BlobStoreRepository
basePath
in class BlobStoreRepository
public boolean isReadOnly()
Repository
isReadOnly
in interface Repository
isReadOnly
in class BlobStoreRepository