public class MonitorEventLoop extends net.openhft.chronicle.core.io.SimpleCloseable implements net.openhft.chronicle.core.threads.EventLoop, Runnable
| Modifier and Type | Field and Description |
|---|---|
static String |
MONITOR_INITIAL_DELAY |
| Constructor and Description |
|---|
MonitorEventLoop(net.openhft.chronicle.core.threads.EventLoop parent,
Pauser pauser) |
MonitorEventLoop(net.openhft.chronicle.core.threads.EventLoop parent,
String name,
Pauser pauser) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHandler(@NotNull net.openhft.chronicle.core.threads.EventHandler handler) |
void |
awaitTermination() |
boolean |
isAlive() |
String |
name() |
protected void |
performClose() |
void |
run() |
void |
start() |
void |
stop() |
void |
unpause() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, closeQuietly, closeQuietly, notifyClosing, warnAndCloseIfNotClosedisClosing, throwExceptionIfClosedpublic static final String MONITOR_INITIAL_DELAY
public MonitorEventLoop(net.openhft.chronicle.core.threads.EventLoop parent,
Pauser pauser)
public String name()
name in interface net.openhft.chronicle.core.threads.EventLooppublic void awaitTermination()
awaitTermination in interface net.openhft.chronicle.core.threads.EventLooppublic void start()
start in interface net.openhft.chronicle.core.threads.EventLooppublic void unpause()
unpause in interface net.openhft.chronicle.core.threads.EventLooppublic void stop()
stop in interface net.openhft.chronicle.core.threads.EventLooppublic boolean isAlive()
isAlive in interface net.openhft.chronicle.core.threads.EventLooppublic void addHandler(@NotNull
@NotNull net.openhft.chronicle.core.threads.EventHandler handler)
addHandler in interface net.openhft.chronicle.core.threads.EventLoopprotected void performClose()
performClose in class net.openhft.chronicle.core.io.SimpleCloseableCopyright © 2021. All rights reserved.