Class Lock


  • public class Lock
    extends Object
    An asynchronous exclusive lock which can be obtained from any node in the cluster.

    When the lock is obtained, no-one else in the cluster can obtain the lock with the same name until the lock is released.

    NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

    • Field Detail

      • __TYPE_ARG

        public static final TypeArg<Lock> __TYPE_ARG
    • Constructor Detail

      • Lock

        public Lock​(io.vertx.core.shareddata.Lock delegate)
      • Lock

        public Lock​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.core.shareddata.Lock getDelegate()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • release

        public void release()
      • newInstance

        public static Lock newInstance​(io.vertx.core.shareddata.Lock arg)