Searched defs:Lock (Results 1 - 1 of 1) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/store/
H A DLock.java25 * new Lock.With(directory.makeLock("my.lock")) {
34 public abstract class Lock { class
80 String reason = "Lock obtain timed out: " + this.toString();
110 private Lock lock;
115 public With(Lock lock, long lockWaitTimeout) {
125 * until it is obtained, or until it has tried ten times. Lock is released when
129 * @throws IOException if {@link Lock#obtain} throws IOException

Completed in 63 milliseconds