Package org.opensearch.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)
- Opensearch.api:
-
Method Summary
-
Method Details
-
lock
ShardLock lock(org.opensearch.core.index.shard.ShardId shardId, String lockDetails, long lockTimeoutMS) throws ShardLockObtainFailedException - Throws:
ShardLockObtainFailedException
-