public class RequestManager extends Object implements io.zeebe.util.actor.Actor
| Modifier and Type | Field and Description |
|---|---|
protected ArrayList<ManagedClientRequestImpl> |
activeRequests |
protected ClientRequestPool |
requestPool |
protected org.agrona.concurrent.ManyToOneConcurrentArrayQueue<ManagedClientRequestImpl> |
stagedRequests |
| Constructor and Description |
|---|
RequestManager(ClientRequestPool requestPool) |
| Modifier and Type | Method and Description |
|---|---|
int |
doWork() |
ManagedClientRequestImpl |
openRequest(RemoteAddress addr,
io.zeebe.util.buffer.BufferWriter writer,
long timeout) |
protected final org.agrona.concurrent.ManyToOneConcurrentArrayQueue<ManagedClientRequestImpl> stagedRequests
protected final ArrayList<ManagedClientRequestImpl> activeRequests
protected final ClientRequestPool requestPool
public RequestManager(ClientRequestPool requestPool)
public int doWork()
throws Exception
doWork in interface io.zeebe.util.actor.ActorExceptionpublic ManagedClientRequestImpl openRequest(RemoteAddress addr, io.zeebe.util.buffer.BufferWriter writer, long timeout)
Copyright © 2017–2018 camunda services GmbH. All rights reserved.