org.agrona.concurrent.Agentpublic final class Poller
extends org.agrona.nio.TransportPoller
implements org.agrona.concurrent.Agent
| Constructor | Description |
|---|---|
Poller() |
| Modifier and Type | Method | Description |
|---|---|---|
PollerKey |
doRegister(java.nio.channels.SelectableChannel channel,
int interestOps,
java.util.function.ToIntFunction<PollerKey> handler) |
|
int |
doWork() |
|
java.util.stream.Stream<PollerKey> |
keys() |
|
void |
onClose() |
|
java.lang.String |
roleName() |
public int doWork()
doWork in interface org.agrona.concurrent.Agentpublic java.lang.String roleName()
roleName in interface org.agrona.concurrent.Agentpublic void onClose()
onClose in interface org.agrona.concurrent.Agentpublic PollerKey doRegister(java.nio.channels.SelectableChannel channel, int interestOps, java.util.function.ToIntFunction<PollerKey> handler)
public java.util.stream.Stream<PollerKey> keys()
Copyright © 2019. All rights reserved.