public class FsRepository extends BlobStoreRepository
locationconcurrent_streamschunk_sizecompress| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE |
repositoryNamelifecyclecomponentSettings, logger, settings| Constructor and Description |
|---|
FsRepository(RepositoryName name,
RepositorySettings repositorySettings,
IndexShardRepository indexShardRepository,
Environment environment)
Constructs new shared file system 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. |
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, onRestorePause, onSnapshotPause, readSnapshot, readSnapshotList, readSnapshotMetaData, restoreThrottleTimeInNanos, snapshots, snapshotThrottleTimeInNanos, startVerification, 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
@Inject public FsRepository(RepositoryName name, RepositorySettings repositorySettings, IndexShardRepository indexShardRepository, Environment environment) throws IOException
name - repository namerepositorySettings - repository settingsindexShardRepository - index shard repositoryIOExceptionprotected BlobStore blobStore()
BlobStoreRepository.doStart() method.blobStore in class BlobStoreRepositoryprotected boolean isCompress()
isCompress in class BlobStoreRepositoryprotected ByteSizeValue chunkSize()
chunkSize in class BlobStoreRepositoryprotected BlobPath basePath()
BlobStoreRepositorybasePath in class BlobStoreRepositoryCopyright © 2009–2016. All rights reserved.