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 reference NodeEnvironment.shardLock(ShardId, String, long)
    • Method Summary

      Modifier and Type Method Description
      ShardLock lock​(ShardId shardId, java.lang.String lockDetails, long lockTimeoutMS)