public class URLRepository extends BlobStoreRepository
This repository supports the following settings
urlconcurrent_streams| 修飾子とタイプ | フィールドと説明 |
|---|---|
static String |
ALLOWED_URLS_SETTING |
static String[] |
DEFAULT_SUPPORTED_PROTOCOLS |
static String |
SUPPORTED_PROTOCOLS_SETTING |
static String |
TYPE |
repositoryNamelifecycledeprecationLogger, logger, settings| コンストラクタと説明 |
|---|
URLRepository(RepositoryName name,
RepositorySettings repositorySettings,
IndexShardRepository indexShardRepository,
Environment environment)
Constructs new read-only URL-based repository
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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. |
boolean |
readOnly()
Returns true if the repository supports only read operations
|
List<SnapshotId> |
snapshots()
Returns the list of snapshots currently stored in the repository
|
chunkSize, deleteSnapshot, doClose, doStart, doStop, endVerification, finalizeSnapshot, initializeSnapshot, isCompress, legacyMetaData, onRestorePause, onSnapshotPause, readSnapshot, readSnapshotList, readSnapshotMetaData, restoreThrottleTimeInNanos, snapshotThrottleTimeInNanos, startVerification, testBlobPrefix, writeSnapshotListaddLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stoplogDeprecatedSetting, logRemovedSetting, nodeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddLifecycleListener, lifecycleState, removeLifecycleListener, start, stopclosepublic static final String[] DEFAULT_SUPPORTED_PROTOCOLS
@Inject public URLRepository(RepositoryName name, RepositorySettings repositorySettings, IndexShardRepository indexShardRepository, Environment environment) throws IOException
name - repository namerepositorySettings - repository settingsindexShardRepository - shard repositoryIOExceptionprotected BlobStore blobStore()
This method is first called in the BlobStoreRepository.doStart() method.
blobStore クラス内 BlobStoreRepositoryprotected BlobPath basePath()
BlobStoreRepositorybasePath クラス内 BlobStoreRepositorypublic List<SnapshotId> snapshots()
BlobStoreRepositorysnapshots インタフェース内 Repositorysnapshots クラス内 BlobStoreRepositorypublic boolean readOnly()
RepositoryreadOnly インタフェース内 RepositoryreadOnly クラス内 BlobStoreRepositoryCopyright © 2009–2016. All rights reserved.