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 RX-ified interface using Vert.x codegen.

    • Field Detail

      • __TYPE_ARG

        public static final io.vertx.lang.rx.TypeArg<Lock> __TYPE_ARG
    • Constructor Detail

      • Lock

        public Lock​(Lock delegate)
      • Lock

        public Lock​(Object delegate)
    • Method Detail

      • hashCode

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

        public Lock getDelegate()
      • release

        public void release()
        Release the lock. Once the lock is released another will be able to obtain the lock.
      • newInstance

        public static Lock newInstance​(Lock arg)