public static class Lock.CatalogLockImpl extends Object implements Lock
Lock to wrap CatalogLock.Lock.CatalogLockImpl, Lock.EmptyFactory, Lock.EmptyLock, Lock.Factory, Lock.LockFactory| 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, waitemptyFactory, factory, fromCatalogpublic <T> T runWithLock(Callable<T> callable) throws Exception
LockrunWithLock in interface LockExceptionpublic void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.