| Package | Description |
|---|---|
| eu.fthevenet.util.concurrent |
| Modifier and Type | Method and Description |
|---|---|
<T,U,R,E extends java.lang.Exception> |
ReadWriteLockHelper.LockHelper.lock(CheckedBiFunction<T,U,R,E> operation,
T t,
U u)
Encapsulated the evaluation of the supplied
CheckedBiFunction within the boundaries of the lock. |
<T,U,R,E extends java.lang.Exception> |
ReadWriteLockHelper.LockHelper.tryLock(CheckedBiFunction<T,U,R,E> operation,
T t,
U u)
Tries to acquire the lock and if successful, evaluates the supplied
CheckedBiFunction within the boundaries of the lock. |
Copyright © 2018 Frederic Thevenet. All rights reserved.