public class FsRepository extends BlobStoreRepository
Shared file system repository supports the following settings
locationconcurrent_streamschunk_sizecompress| 修飾子とタイプ | フィールドと説明 |
|---|---|
static String |
TYPE |
repositoryNamelifecycledeprecationLogger, logger, settings| コンストラクタと説明 |
|---|
FsRepository(RepositoryName name,
RepositorySettings repositorySettings,
IndexShardRepository indexShardRepository,
Environment environment)
Constructs new shared file system 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. |
protected ByteSizeValue |
chunkSize()
Returns data file chunk size.
|
protected boolean |
isCompress()
Returns true if metadata and snapshot files should be compressed
|
deleteSnapshot, doClose, doStart, doStop, endVerification, finalizeSnapshot, initializeSnapshot, legacyMetaData, onRestorePause, onSnapshotPause, readOnly, readSnapshot, readSnapshotList, readSnapshotMetaData, restoreThrottleTimeInNanos, snapshots, snapshotThrottleTimeInNanos, startVerification, testBlobPrefix, writeSnapshotListaddLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stoplogDeprecatedSetting, logRemovedSetting, nodeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddLifecycleListener, lifecycleState, removeLifecycleListener, start, stopclose@Inject public FsRepository(RepositoryName name, RepositorySettings repositorySettings, IndexShardRepository indexShardRepository, Environment environment) throws IOException
name - repository namerepositorySettings - repository settingsindexShardRepository - index shard repositoryIOExceptionprotected BlobStore blobStore()
This method is first called in the BlobStoreRepository.doStart() method.
blobStore クラス内 BlobStoreRepositoryprotected boolean isCompress()
isCompress クラス内 BlobStoreRepositoryprotected ByteSizeValue chunkSize()
This method should return null if no chunking is needed.
chunkSize クラス内 BlobStoreRepositoryprotected BlobPath basePath()
BlobStoreRepositorybasePath クラス内 BlobStoreRepositoryCopyright © 2009–2016. All rights reserved.