| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static interface | |
| pack-priv static class | |
| pack-priv static enum |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | internalPingNode(Node
the node node, NodePingUtil.the ping callback callback,the xnio i/o thread ioThread, ByteBufferPool the xnio buffer pool bufferPool, UndertowClient the undertow client client, XnioSsl the ssl setup xnioSsl, OptionMap the options options)Internally ping a node. |
| pack-priv static void | pingHost(InetSocketAddress
the socket address address, HttpServerExchange the http servers exchange exchange, NodePingUtil.the ping callback callback,the options options)Try to open a socket connection to given address. |
| pack-priv static void | pingHttpClient(URI
the connection URI connection, NodePingUtil.the ping callback callback,the http servers exchange exchange, UndertowClient the undertow client client, XnioSsl the ssl setup xnioSsl, OptionMap the options options)Try to ping a server using the undertow client. |
| pack-priv static void | pingNode(final Node
the node node, final HttpServerExchange the http servers exchange exchange, final NodePingUtil.the ping callback callbackTry to ping a node using it's connection pool. |
| pack-priv static void | scheduleCancelTask(final XnioIoThread ioThread, final NodePingUtil.
|
| NodePingUtil | back to summary |
|---|---|
| pack-priv NodePingUtil() | |
| internalPingNode | back to summary |
|---|---|
| pack-priv static void internalPingNode(Node node, NodePingUtil. Internally ping a node. This should probably use the connections from the nodes pool, if there are any available.
| |
| pingHost | back to summary |
|---|---|
| pack-priv static void pingHost(InetSocketAddress address, HttpServerExchange exchange, NodePingUtil. Try to open a socket connection to given address.
| |
| pingHttpClient | back to summary |
|---|---|
| pack-priv static void pingHttpClient(URI connection, NodePingUtil. Try to ping a server using the undertow client.
| |
| pingNode | back to summary |
|---|---|
| pack-priv static void pingNode(final Node node, final HttpServerExchange exchange, final NodePingUtil. Try to ping a node using it's connection pool.
| |
| scheduleCancelTask | back to summary |
|---|---|
| pack-priv static void scheduleCancelTask(final XnioIoThread ioThread, final NodePingUtil. | |
| Modifier and Type | Field and Description |
|---|---|
| private volatile XnioExecutor. | |
| private final NodePingUtil. | |
| private volatile NodePingUtil. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv boolean | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void |
| cancelKey | back to summary |
|---|---|
| private volatile XnioExecutor. | |
| delegate | back to summary |
|---|---|
| private final NodePingUtil. | |
| state | back to summary |
|---|---|
| private volatile NodePingUtil. | |
| CancellableTask | back to summary |
|---|---|
| pack-priv CancellableTask(NodePingUtil. | |
| cancel | back to summary |
|---|---|
| pack-priv void cancel() | |
| isDone | back to summary |
|---|---|
| pack-priv boolean isDone() | |
| setCancelKey | back to summary |
|---|---|
| pack-priv void setCancelKey(XnioExecutor. | |
| taskCompleted | back to summary |
|---|---|
| pack-priv void taskCompleted() | |
| taskFailed | back to summary |
|---|---|
| pack-priv void taskFailed() | |
| Modifier and Type | Field and Description |
|---|---|
| private final NodePingUtil. | |
| private final ProxyConnection | |
| private final URI |
| Access | Constructor and Description |
|---|---|
| pack-priv | ConnectionPoolPingTask(ProxyConnection proxyConnection, NodePingUtil.
|
| Modifier and Type | Method and Description |
|---|---|
| public void |
| exchangeListener | back to summary |
|---|---|
| private final NodePingUtil. | |
| proxyConnection | back to summary |
|---|---|
| private final ProxyConnection proxyConnection | |
| uri | back to summary |
|---|---|
| private final URI uri | |
| ConnectionPoolPingTask | back to summary |
|---|---|
| pack-priv ConnectionPoolPingTask(ProxyConnection proxyConnection, NodePingUtil. | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final InetSocketAddress | |
| private final OptionMap | |
| private final XnioWorker |
| Access | Constructor and Description |
|---|---|
| pack-priv | HostPingTask(InetSocketAddress address, XnioWorker worker, NodePingUtil.
|
| Modifier and Type | Method and Description |
|---|---|
| public void |
| address | back to summary |
|---|---|
| private final InetSocketAddress address | |
| options | back to summary |
|---|---|
| private final OptionMap options | |
| worker | back to summary |
|---|---|
| private final XnioWorker worker | |
| HostPingTask | back to summary |
|---|---|
| pack-priv HostPingTask(InetSocketAddress address, XnioWorker worker, NodePingUtil. | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ByteBufferPool | |
| private final UndertowClient | |
| private final URI | |
| private final NodePingUtil. | |
| private final OptionMap | |
| private final XnioIoThread | |
| private final XnioSsl |
| Access | Constructor and Description |
|---|---|
| pack-priv | HttpClientPingTask(URI connection, NodePingUtil.
|
| Modifier and Type | Method and Description |
|---|---|
| public void |
| bufferPool | back to summary |
|---|---|
| private final ByteBufferPool bufferPool | |
| client | back to summary |
|---|---|
| private final UndertowClient client | |
| connection | back to summary |
|---|---|
| private final URI connection | |
| exchangeListener | back to summary |
|---|---|
| private final NodePingUtil. | |
| options | back to summary |
|---|---|
| private final OptionMap options | |
| thread | back to summary |
|---|---|
| private final XnioIoThread thread | |
| xnioSsl | back to summary |
|---|---|
| private final XnioSsl xnioSsl | |
| HttpClientPingTask | back to summary |
|---|---|
| pack-priv HttpClientPingTask(URI connection, NodePingUtil. | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void |
| completed | back to summary |
|---|---|
| public void completed() Ping completed. | |
| failed | back to summary |
|---|---|
| public void failed() Ping failed. | |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private ClientExchange | |
| private final NodeHealthChecker |
| Access | Constructor and Description |
|---|---|
| pack-priv | RequestExchangeListener(NodePingUtil.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | completed(final ClientExchange
the operation result result)Implements io. Invoked when an operation completed. |
| public void | failed(IOException
the exception e)Implements io. Invoked when the operation failed. |
| closeConnection | back to summary |
|---|---|
| private final boolean closeConnection | |
| exchange | back to summary |
|---|---|
| private ClientExchange exchange | |
| healthChecker | back to summary |
|---|---|
| private final NodeHealthChecker healthChecker | |
| RequestExchangeListener | back to summary |
|---|---|
| pack-priv RequestExchangeListener(NodePingUtil. | |
| completed | back to summary |
|---|---|
| public void completed(final ClientExchange result) Implements io. Doc from io. Invoked when an operation completed.
| |
| failed | back to summary |
|---|---|
| public void failed(IOException e) Implements io. Doc from io. Invoked when the operation failed.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final NodePingUtil. | |
| public static final NodePingUtil. | |
| public static final NodePingUtil. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static NodePingUtil. | |
| public static NodePingUtil. |
| CANCELLED | back to summary |
|---|---|
| public static final NodePingUtil. | |
| DONE | back to summary |
|---|---|
| public static final NodePingUtil. | |
| WAITING | back to summary |
|---|---|
| public static final NodePingUtil. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static NodePingUtil. | |
| values | back to summary |
|---|---|
| public static NodePingUtil. | |