| Package | Description |
|---|---|
| com.helger.commons.callback | |
| com.helger.commons.callback.adapter | |
| com.helger.commons.concurrent | |
| com.helger.commons.mock |
| Modifier and Type | Interface and Description |
|---|---|
interface |
INonThrowingRunnable
Deprecated.
Use
Runnable directly |
| Modifier and Type | Class and Description |
|---|---|
class |
AdapterRunnableToThrowingRunnable<EXTYPE extends Throwable>
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
IThrowingRunnable<EXTYPE> |
AdapterThrowingRunnableToCallable.getRunnable()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static <EXTYPE extends Exception> |
AdapterThrowingRunnableToCallable.createAdapter(IThrowingRunnable<EXTYPE> aRunnable)
Deprecated.
Create a callable that always returns
null. |
static <DATATYPE,EXTYPE extends Exception> |
AdapterThrowingRunnableToCallable.createAdapter(IThrowingRunnable<EXTYPE> aRunnable,
DATATYPE aResult)
Deprecated.
Create a callable that always returns the passed value.
|
| Constructor and Description |
|---|
AdapterThrowingRunnableToCallable(IThrowingRunnable<EXTYPE> aRunnable)
Deprecated.
|
AdapterThrowingRunnableToCallable(IThrowingRunnable<EXTYPE> aRunnable,
DATATYPE aResult)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
<EXTYPE extends Exception> |
SimpleLock.lockedThrowing(IThrowingRunnable<EXTYPE> aRunnable)
Execute the provided runnable in a read lock.
|
<EXTYPE extends Exception> |
SimpleReadWriteLock.readLockedThrowing(IThrowingRunnable<EXTYPE> aRunnable)
Execute the provided runnable in a read lock.
|
<EXTYPE extends Exception> |
SimpleReadWriteLock.writeLockedThrowing(IThrowingRunnable<EXTYPE> aRunnable)
Execute the provided runnable in a write lock.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
CommonsTestHelper.testInParallel(int nCalls,
IThrowingRunnable<? extends Throwable> aRunnable)
Run something in parallel
|
Copyright © 2014–2016 Philip Helger. All rights reserved.