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.
@FunctionalInterface public static interface NodeEnvironment.ShardLocker
A functional interface that people can use to referenceNodeEnvironment.shardLock(ShardId, String, long)
-
-
Method Detail
-
lock
ShardLock lock(ShardId shardId, java.lang.String lockDetails, long lockTimeoutMS) throws ShardLockObtainFailedException
- Throws:
ShardLockObtainFailedException
-
-