public class EventLoopServiceWrapper<O> extends Object implements ServiceWrapper, net.openhft.chronicle.core.threads.EventHandler
| Modifier and Type | Field and Description |
|---|---|
protected @NotNull net.openhft.chronicle.bytes.MethodReader[] |
serviceIn |
| Constructor and Description |
|---|
EventLoopServiceWrapper(@NotNull ServiceWrapperBuilder<O> builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
action() |
void |
close() |
@NotNull ChronicleQueue[] |
inputQueues() |
boolean |
isClosed() |
@NotNull ChronicleQueue |
outputQueue() |
@NotNull net.openhft.chronicle.core.threads.HandlerPriority |
priority() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait@NotNull protected final @NotNull net.openhft.chronicle.bytes.MethodReader[] serviceIn
public EventLoopServiceWrapper(@NotNull
@NotNull ServiceWrapperBuilder<O> builder)
@NotNull public @NotNull ChronicleQueue[] inputQueues()
inputQueues in interface ServiceWrapper@NotNull public @NotNull ChronicleQueue outputQueue()
outputQueue in interface ServiceWrapperpublic boolean action()
throws net.openhft.chronicle.core.threads.InvalidEventHandlerException,
InterruptedException
action in interface net.openhft.chronicle.core.threads.VanillaEventHandlernet.openhft.chronicle.core.threads.InvalidEventHandlerExceptionInterruptedException@NotNull public @NotNull net.openhft.chronicle.core.threads.HandlerPriority priority()
priority in interface net.openhft.chronicle.core.threads.EventHandlerpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic boolean isClosed()
Copyright © 2020. All rights reserved.