public class EventGroup extends Object implements net.openhft.chronicle.core.threads.EventLoop
| Constructor and Description |
|---|
EventGroup(boolean daemon) |
EventGroup(boolean daemon,
boolean binding) |
EventGroup(boolean daemon,
Pauser pauser,
boolean binding) |
EventGroup(boolean daemon,
Pauser pauser,
boolean binding,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHandler(boolean dontAttemptToRunImmediatelyInCurrentThread,
net.openhft.chronicle.core.threads.EventHandler handler) |
void |
addHandler(net.openhft.chronicle.core.threads.EventHandler handler) |
void |
awaitTermination() |
void |
close() |
boolean |
isAlive() |
boolean |
isClosed() |
void |
setConcThreadPauserSupplier(Supplier<Pauser> supplier) |
void |
start() |
void |
stop() |
void |
unpause() |
public EventGroup(boolean daemon)
public EventGroup(boolean daemon,
boolean binding)
public EventGroup(boolean daemon,
@NotNull
Pauser pauser,
boolean binding)
public void awaitTermination()
awaitTermination in interface net.openhft.chronicle.core.threads.EventLooppublic void unpause()
unpause in interface net.openhft.chronicle.core.threads.EventLooppublic void addHandler(boolean dontAttemptToRunImmediatelyInCurrentThread,
@NotNull
net.openhft.chronicle.core.threads.EventHandler handler)
addHandler in interface net.openhft.chronicle.core.threads.EventLooppublic void addHandler(@NotNull
net.openhft.chronicle.core.threads.EventHandler handler)
addHandler in interface net.openhft.chronicle.core.threads.EventLooppublic void start()
start in interface net.openhft.chronicle.core.threads.EventLooppublic void stop()
stop in interface net.openhft.chronicle.core.threads.EventLooppublic boolean isClosed()
isClosed in interface net.openhft.chronicle.core.threads.EventLooppublic boolean isAlive()
isAlive in interface net.openhft.chronicle.core.threads.EventLooppublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2018. All rights reserved.