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 @PublicApi(since="1.0.0") public static interface NodeEnvironment.ShardLocker
A functional interface that people can use to reference NodeEnvironment.shardLock(ShardId, String, long)
Opensearch.api:
  • Method Summary

    Modifier and Type
    Method
    Description
    lock(org.opensearch.core.index.shard.ShardId shardId, String lockDetails, long lockTimeoutMS)