Class Lock.With

  • Enclosing class:
    Lock

    public abstract static class Lock.With
    extends Object
    Utility class for executing code with exclusive access.
    • Constructor Detail

      • With

        public With​(Lock lock,
                    long lockWaitTimeout)
        Constructs an executor that will grab the named lock.