Package org.elasticsearch.env
Interface NodeEnvironment.ShardLocker
- Enclosing class:
- NodeEnvironment
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface that people can use to reference
NodeEnvironment.shardLock(ShardId, String, long)
-
Method Summary
-
Method Details
-
lock
ShardLock lock(ShardId shardId, String lockDetails, long lockTimeoutMS) throws ShardLockObtainFailedException- Throws:
ShardLockObtainFailedException
-