Class Lock.With

java.lang.Object
org.apache.lucene.store.Lock.With
Enclosing class:
Lock

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

    • With

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