java.lang.Object
org.neo4j.driver.internal.util.LockUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
executeWithLock
(Lock lock, Runnable runnable) static <T> T
executeWithLock
(Lock lock, Supplier<T> supplier) static <T> void
executeWithLockAsync
(Lock lock, Supplier<CompletionStage<T>> stageSupplier)
-
Constructor Details
-
LockUtil
public LockUtil()
-
-
Method Details
-
executeWithLock
-
executeWithLock
-
executeWithLockAsync
-