| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final HttpChannelConnector | |
| private int | |
| private final int | |
| private final Deque |
| Access | Constructor and Description |
|---|---|
| pack-priv | WebSocketEndpoint(ClientMetrics<M, T, Req, Resp> metrics, int maxPoolSize, HttpChannelConnector connector, Runnable dispose)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public void | close()
Overrides io. Close the endpoint, this will close all connections, this method is called by the |
| private void | |
| private void | |
| public void | requestConnection2(ContextInternal ctx, long timeout, Handler<AsyncResult<HttpClientConnection>> handler)
Implements abstract io.
|
| private boolean |
| connector | back to summary |
|---|---|
| private final HttpChannelConnector connector | |
| inflightConnections | back to summary |
|---|---|
| private int inflightConnections | |
| maxPoolSize | back to summary |
|---|---|
| private final int maxPoolSize | |
| waiters | back to summary |
|---|---|
| private final Deque<WebSocketEndpoint. | |
| WebSocketEndpoint | back to summary |
|---|---|
| pack-priv WebSocketEndpoint(ClientMetrics<M, T, Req, Resp> metrics, int maxPoolSize, HttpChannelConnector connector, Runnable dispose) | |
| checkExpired | back to summary |
|---|---|
| pack-priv void checkExpired() Implements abstract io.
| |
| close | back to summary |
|---|---|
| public void close() Overrides io. Doc from io. Close the endpoint, this will close all connections, this method is called by the
| |
| connect | back to summary |
|---|---|
| private void connect(ContextInternal ctx, Handler<AsyncResult<HttpClientConnection>> handler) | |
| release | back to summary |
|---|---|
| private void release() | |
| requestConnection2 | back to summary |
|---|---|
| public void requestConnection2(ContextInternal ctx, long timeout, Handler<AsyncResult<HttpClientConnection>> handler) Implements abstract io.
| |
| tryAcquire | back to summary |
|---|---|
| private boolean tryAcquire(ContextInternal ctx, Handler<AsyncResult<HttpClientConnection>> handler) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ContextInternal | |
| pack-priv final Handler |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| context | back to summary |
|---|---|
| pack-priv final ContextInternal context | |
| handler | back to summary |
|---|---|
| pack-priv final Handler<AsyncResult<HttpClientConnection>> handler | |
| Waiter | back to summary |
|---|---|
| pack-priv Waiter(Handler<AsyncResult<HttpClientConnection>> handler, ContextInternal context) | |