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