public class BlockingEventLoop extends Object implements EventLoop
| Constructor and Description |
|---|
BlockingEventLoop(EventLoop parent,
String name,
java.util.function.Consumer<Throwable> onThrowable) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHandler(boolean dontAttemptToRunImmediatelyInCurrentThread,
EventHandler handler) |
void |
addHandler(EventHandler handler) |
void |
close() |
void |
start() |
void |
stop() |
void |
unpause() |
public BlockingEventLoop(@NotNull
EventLoop parent,
@NotNull
String name,
@NotNull
java.util.function.Consumer<Throwable> onThrowable)
public void addHandler(boolean dontAttemptToRunImmediatelyInCurrentThread,
@NotNull
EventHandler handler)
addHandler in interface EventLooppublic void addHandler(@NotNull
EventHandler handler)
addHandler in interface EventLooppublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2016. All rights reserved.