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, wait
close, closeQuietly, closeQuietly, notifyClosing
public 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.EventLoop
public void awaitTermination()
awaitTermination
in interface net.openhft.chronicle.core.threads.EventLoop
public void start()
start
in interface net.openhft.chronicle.core.threads.EventLoop
public void unpause()
unpause
in interface net.openhft.chronicle.core.threads.EventLoop
public void stop()
stop
in interface net.openhft.chronicle.core.threads.EventLoop
public boolean isAlive()
isAlive
in interface net.openhft.chronicle.core.threads.EventLoop
public void addHandler(@NotNull @NotNull net.openhft.chronicle.core.threads.EventHandler handler)
addHandler
in interface net.openhft.chronicle.core.threads.EventLoop
protected void performClose()
performClose
in class net.openhft.chronicle.core.io.SimpleCloseable
Copyright © 2020. All rights reserved.