public class URLRepository extends BlobStoreRepository
urlconcurrent_streams| Modifier and Type | Field and Description |
|---|---|
static String |
ALLOWED_URLS_SETTING |
static String[] |
DEFAULT_SUPPORTED_PROTOCOLS |
static String |
SUPPORTED_PROTOCOLS_SETTING |
static String |
TYPE |
repositoryNamelifecyclecomponentSettings, logger, settings| Constructor and Description |
|---|
URLRepository(RepositoryName name,
RepositorySettings repositorySettings,
IndexShardRepository indexShardRepository,
Environment environment)
Constructs new read-only URL-based repository
|
| Modifier and Type | Method and Description |
|---|---|
protected BlobPath |
basePath()
Returns base path of the repository
|
protected BlobStore |
blobStore()
Returns initialized and ready to use BlobStore
This method is first called in the
BlobStoreRepository.doStart() method. |
void |
endVerification(String seed)
Called at the end of repository verification process.
|
com.google.common.collect.ImmutableList<SnapshotId> |
snapshots()
Returns the list of snapshots currently stored in the repository
|
String |
startVerification()
Verifies repository on the master node and returns the verification token.
|
chunkSize, deleteSnapshot, doClose, doStart, doStop, finalizeSnapshot, initializeSnapshot, isCompress, onRestorePause, onSnapshotPause, readSnapshot, readSnapshotList, readSnapshotMetaData, restoreThrottleTimeInNanos, snapshotThrottleTimeInNanos, testBlobPrefix, writeSnapshotListaddLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stopnodeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddLifecycleListener, lifecycleState, removeLifecycleListener, start, stopclosepublic static final String TYPE
public static final String[] DEFAULT_SUPPORTED_PROTOCOLS
public static final String SUPPORTED_PROTOCOLS_SETTING
public static final String ALLOWED_URLS_SETTING
@Inject public URLRepository(RepositoryName name, RepositorySettings repositorySettings, IndexShardRepository indexShardRepository, Environment environment) throws IOException
name - repository namerepositorySettings - repository settingsindexShardRepository - shard repositoryIOExceptionprotected BlobStore blobStore()
BlobStoreRepository.doStart() method.blobStore in class BlobStoreRepositoryprotected BlobPath basePath()
BlobStoreRepositorybasePath in class BlobStoreRepositorypublic com.google.common.collect.ImmutableList<SnapshotId> snapshots()
BlobStoreRepositorysnapshots in interface Repositorysnapshots in class BlobStoreRepositorypublic String startVerification()
RepositorystartVerification in interface RepositorystartVerification in class BlobStoreRepositorypublic void endVerification(String seed)
RepositoryendVerification in interface RepositoryendVerification in class BlobStoreRepositoryseed - verification request generated by Repository.startVerification() commandCopyright © 2009–2016. All rights reserved.