| Package | Description |
|---|---|
| eu.fthevenet.util.concurrent | |
| eu.fthevenet.util.function |
| Modifier and Type | Method and Description |
|---|---|
<E extends java.lang.Exception> |
ReadWriteLockHelper.LockHelper.lock(CheckedRunnable<E> operation)
Encapsulated the evaluation of the supplied
CheckedRunnable within the boundaries of the lock. |
<E extends java.lang.Exception> |
ReadWriteLockHelper.LockHelper.tryLock(CheckedRunnable<E> operation)
Tries to acquire the lock and if successful, evaluates the supplied
CheckedRunnable within the boundaries of the lock. |
| Modifier and Type | Method and Description |
|---|---|
static <E extends java.lang.Exception> |
CheckedLambdas.wrap(CheckedRunnable<E> runnable)
Wraps a
CheckedRunnable inside a Runnable and rethrow the
original exception. |
Copyright © 2018 Frederic Thevenet. All rights reserved.