public class URLRepository extends BlobStoreRepository
url
concurrent_streams
Modifier and Type | Field and Description |
---|---|
static String |
TYPE |
repositoryName
lifecycle
componentSettings, logger, settings
Constructor and Description |
---|
URLRepository(RepositoryName name,
RepositorySettings repositorySettings,
IndexShardRepository indexShardRepository)
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, writeSnapshotList
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stop
nodeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addLifecycleListener, lifecycleState, removeLifecycleListener, start, stop
close
public static final String TYPE
@Inject public URLRepository(RepositoryName name, RepositorySettings repositorySettings, IndexShardRepository indexShardRepository) throws IOException
name
- repository namerepositorySettings
- repository settingsindexShardRepository
- shard repositoryIOException
protected BlobStore blobStore()
BlobStoreRepository.doStart()
method.blobStore
in class BlobStoreRepository
protected BlobPath basePath()
BlobStoreRepository
basePath
in class BlobStoreRepository
public com.google.common.collect.ImmutableList<SnapshotId> snapshots()
BlobStoreRepository
snapshots
in interface Repository
snapshots
in class BlobStoreRepository
public String startVerification()
Repository
startVerification
in interface Repository
startVerification
in class BlobStoreRepository
public void endVerification(String seed)
Repository
endVerification
in interface Repository
endVerification
in class BlobStoreRepository
seed
- verification request generated by Repository.startVerification()
commandCopyright © 2009–2015. All rights reserved.