Uses of Class
org.elasticsearch.env.ShardLock
-
Packages that use ShardLock Package Description org.elasticsearch.env org.elasticsearch.index org.elasticsearch.index.shard org.elasticsearch.index.store org.elasticsearch.indices -
-
Uses of ShardLock in org.elasticsearch.env
Methods in org.elasticsearch.env that return ShardLock Modifier and Type Method Description ShardLockNodeEnvironment.ShardLocker. lock(ShardId shardId, String lockDetails, long lockTimeoutMS)ShardLockNodeEnvironment. shardLock(ShardId id, String details)Tries to lock the given shards ID.ShardLockNodeEnvironment. shardLock(ShardId shardId, String details, long lockTimeoutMS)Tries to lock the given shards ID.Methods in org.elasticsearch.env that return types with arguments of type ShardLock Modifier and Type Method Description List<ShardLock>NodeEnvironment. lockAllForIndex(Index index, IndexSettings settings, String lockDetails, long lockTimeoutMS)Tries to lock all local shards for the given index.Methods in org.elasticsearch.env with parameters of type ShardLock Modifier and Type Method Description voidNodeEnvironment. deleteShardDirectoryUnderLock(ShardLock lock, IndexSettings indexSettings)Deletes a shard data directory. -
Uses of ShardLock in org.elasticsearch.index
Methods in org.elasticsearch.index with parameters of type ShardLock Modifier and Type Method Description voidIndexService.ShardStoreDeleter. deleteShardStore(String reason, ShardLock lock, IndexSettings indexSettings) -
Uses of ShardLock in org.elasticsearch.index.shard
Methods in org.elasticsearch.index.shard with parameters of type ShardLock Modifier and Type Method Description static voidShardPath. deleteLeftoverShardDirectory(org.apache.logging.log4j.Logger logger, NodeEnvironment env, ShardLock lock, IndexSettings indexSettings)This method tries to delete left-over shards where the index name has been reused but the UUID is different to allow the new shard to be allocated. -
Uses of ShardLock in org.elasticsearch.index.store
Constructors in org.elasticsearch.index.store with parameters of type ShardLock Constructor Description Store(ShardId shardId, IndexSettings indexSettings, Directory directory, ShardLock shardLock)Store(ShardId shardId, IndexSettings indexSettings, Directory directory, ShardLock shardLock, Store.OnClose onClose) -
Uses of ShardLock in org.elasticsearch.indices
Methods in org.elasticsearch.indices with parameters of type ShardLock Modifier and Type Method Description voidIndicesService. deleteShardStore(String reason, ShardLock lock, IndexSettings indexSettings)Deletes the shard with an already acquired shard lock.
-