Package | Description |
---|---|
org.elasticsearch.env | |
org.elasticsearch.index.store | |
org.elasticsearch.indices |
Modifier and Type | Method and Description |
---|---|
ShardLock |
NodeEnvironment.shardLock(ShardId id)
Tries to lock the given shards ID.
|
ShardLock |
NodeEnvironment.shardLock(ShardId id,
long lockTimeoutMS)
Tries to lock the given shards ID.
|
Modifier and Type | Method and Description |
---|---|
List<ShardLock> |
NodeEnvironment.lockAllForIndex(Index index,
Settings settings,
long lockTimeoutMS)
Tries to lock all local shards for the given index.
|
Modifier and Type | Method and Description |
---|---|
void |
NodeEnvironment.deleteShardDirectoryUnderLock(ShardLock lock,
Settings indexSettings)
Deletes a shard data directory.
|
Constructor and Description |
---|
Store(ShardId shardId,
Settings indexSettings,
DirectoryService directoryService,
Distributor distributor,
ShardLock shardLock) |
Store(ShardId shardId,
Settings indexSettings,
DirectoryService directoryService,
Distributor distributor,
ShardLock shardLock,
Store.OnClose onClose) |
StoreModule(Settings settings,
IndexStore indexStore,
ShardLock lock,
Store.OnClose closeCallback) |
Modifier and Type | Method and Description |
---|---|
void |
IndicesService.deleteShardStore(String reason,
ShardLock lock,
Settings indexSettings)
Deletes the shard with an already acquired shard lock.
|
Copyright © 2009–2015. All rights reserved.