public class URLRepository extends BlobStoreRepository
This repository supports the following settings
urlconcurrent_streamsRepository.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, namedXContentRegistrylifecycledeprecationLogger, 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, writeIndexGenaddLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stoplogDeprecatedSetting, logRemovedSetting, nodeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddLifecycleListener, lifecycleState, removeLifecycleListener, start, stopclosepublic 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.IOExceptionprotected BlobStore blobStore()
BlobStoreRepositoryblobStore in class BlobStoreRepositoryprotected BlobPath basePath()
BlobStoreRepositorybasePath in class BlobStoreRepositorypublic boolean isReadOnly()
RepositoryisReadOnly in interface RepositoryisReadOnly in class BlobStoreRepository