public static class Lock.EmptyLock extends Object implements Lock
Lock.CatalogLockImpl, Lock.EmptyLock
Constructor and Description |
---|
EmptyLock() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
<T> T |
runWithLock(Callable<T> callable)
Run with lock.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
empty, fromCatalog
public <T> T runWithLock(Callable<T> callable) throws Exception
Lock
runWithLock
in interface Lock
Exception
public void close()
close
in interface AutoCloseable
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.