private final class TrackingLockFactory.TrackingLock
extends org.apache.lucene.store.Lock
Modifier and Type | Field and Description |
---|---|
private org.apache.lucene.store.Lock |
delegate |
private java.lang.String |
name |
Constructor and Description |
---|
TrackingLock(org.apache.lucene.store.Lock delegate,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
ensureValid() |
(package private) java.lang.String |
getName() |
private final org.apache.lucene.store.Lock delegate
private final java.lang.String name
TrackingLock(org.apache.lucene.store.Lock delegate, java.lang.String name)
java.lang.String getName()
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class org.apache.lucene.store.Lock
java.io.IOException
public void ensureValid() throws java.io.IOException
ensureValid
in class org.apache.lucene.store.Lock
java.io.IOException