public class ClientRequestPool extends Object implements AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
ClientRequestPool.RequestIdGenerator |
| Constructor and Description |
|---|
ClientRequestPool(int requestedCapacity,
io.zeebe.dispatcher.Dispatcher sendBuffer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
failPendingRequestsToRemote(RemoteAddress remote,
String reason) |
ClientRequestImpl |
getOpenRequestById(long id) |
ClientRequestImpl |
openRequest(RemoteAddress remote,
io.zeebe.util.buffer.BufferWriter writer) |
ClientRequestImpl |
poll(RemoteAddress remote) |
void |
returnRequest(ClientRequestImpl requestImpl) |
public ClientRequestPool(int requestedCapacity,
io.zeebe.dispatcher.Dispatcher sendBuffer)
public ClientRequestImpl openRequest(RemoteAddress remote, io.zeebe.util.buffer.BufferWriter writer)
public ClientRequestImpl poll(RemoteAddress remote)
public ClientRequestImpl getOpenRequestById(long id)
public void failPendingRequestsToRemote(RemoteAddress remote, String reason)
public void close()
close in interface AutoCloseablepublic void returnRequest(ClientRequestImpl requestImpl)
Copyright © 2017–2018 camunda services GmbH. All rights reserved.