Modifier and Type | Field and Description |
---|---|
static String[] |
SIGNAL_NAMES
Signals the barrier will be registered for.
|
Constructor and Description |
---|
ShutdownSignalBarrier()
Construct and register the barrier ready for use.
|
Modifier and Type | Method and Description |
---|---|
void |
await()
Await the reception of the shutdown signal.
|
void |
remove()
Remove the barrier from the shutdown signals.
|
void |
signal()
Programmatically signal awaiting threads.
|
void |
signalAll()
Programmatically signal all awaiting threads.
|
public static final String[] SIGNAL_NAMES
public ShutdownSignalBarrier()
public void signal()
public void signalAll()
public void remove()
public void await()
Copyright © 2014-2019 Real Logic Ltd. All Rights Reserved.