| Package | Description |
|---|---|
| com.helger.commons.concurrent | |
| com.helger.commons.state |
| Modifier and Type | Method and Description |
|---|---|
static EInterrupt |
ExecutorServiceHelper.shutdownAndWaitUntilAllTasksAreFinished(ExecutorService aES)
Call shutdown on the
ExecutorService and wait indefinitely until it
terminated. |
static EInterrupt |
ExecutorServiceHelper.shutdownAndWaitUntilAllTasksAreFinished(ExecutorService aES,
long nTimeout,
TimeUnit eUnit)
Call shutdown on the
ExecutorService and wait indefinitely until it
terminated. |
static EInterrupt |
ExecutorServiceHelper.waitUntilAllTasksAreFinished(ExecutorService aES)
Wait indefinitely on the
ExecutorService until it terminates. |
static EInterrupt |
ExecutorServiceHelper.waitUntilAllTasksAreFinished(ExecutorService aES,
long nTimeout,
TimeUnit eUnit)
Wait indefinitely on the
ExecutorService until it terminates. |
| Modifier and Type | Method and Description |
|---|---|
default EInterrupt |
IInterruptIndicator.and(IInterruptIndicator aInterrupt) |
default EInterrupt |
IInterruptIndicator.or(IInterruptIndicator aInterrupt) |
static EInterrupt |
EInterrupt.valueOf(boolean bInterrupted) |
static EInterrupt |
EInterrupt.valueOf(IInterruptIndicator aInterruptIndicator) |
static EInterrupt |
EInterrupt.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EInterrupt[] |
EInterrupt.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2014–2017 Philip Helger. All rights reserved.