io.vertx.core.http.HttpServer , io.vertx.core.spi.metrics.EventBusMetrics , etc.
| Modifier and Type | Method and Description |
|---|---|
| public default ClientMetrics | Returns: the client metrics SPI ornull when metrics are disabledthe server remote address remoteAddress, String the metrics type, e.g type, String http or wsan optional namespace for scoping the metrics namespace)Provides the client metrics SPI when a client has been created. |
| public default DatagramSocketMetrics | Returns: the datagram metrics SPI ornull when metrics are disabledthe options used to create the options)DatagramSocketProvides the datagram/udp metrics SPI when a datagram socket is created. |
| public default EventBusMetrics | Returns: the event bus metrics SPI ornull when metrics are disabledProvides the event bus metrics SPI when the event bus is created. |
| public default HttpClientMetrics | Returns: the http client metrics SPI ornull when metrics are disabledthe options used to create the options)HttpClientProvides the http client metrics SPI when an http client has been created. |
| public default HttpServerMetrics | Returns: the http server metrics SPI ornull when metrics are disabledthe options used to create the options, SocketAddress HttpServerlocalAddress the local address the net socket is listening on localAddress)Provides the http server metrics SPI when an http server is created. |
| public default TCPMetrics | Returns: the net client metrics SPI ornull when metrics are disabledthe options used to create the options)NetClientProvides the net client metrics SPI when a net client is created. |
| public default TCPMetrics | Returns: the net server metrics SPI ornull when metrics are disabledthe options used to create the options, SocketAddress NetServerlocalAddress the local address the net socket is listening on localAddress)Provides the net server metrics SPI when a net server is created. |
| public default PoolMetrics | Returns: the thread pool metrics SPI ornull when metrics are disabledthe type of the pool e.g worker, datasource, etc.. poolType, String the name of the pool poolName, int the pool max size, or -1 if the number cannot be determined maxPoolSize)Provides the pool metrics SPI. |
| public default void | vertxCreated(Vertx
the instance of Vertx vertx)Callback to signal when the Vertx instance is fully initialized. |
| createClientMetrics | back to summary |
|---|---|
| public default ClientMetrics Provides the client metrics SPI when a client has been created.
No specific thread and context can be expected when this method is called.
| |
| createDatagramSocketMetrics | back to summary |
|---|---|
| public default DatagramSocketMetrics createDatagramSocketMetrics(DatagramSocketOptions options) Provides the datagram/udp metrics SPI when a datagram socket is created.
No specific thread and context can be expected when this method is called.
| |
| createEventBusMetrics | back to summary |
|---|---|
| public default EventBusMetrics Provides the event bus metrics SPI when the event bus is created.
No specific thread and context can be expected when this method is called.
This method should be called only once.
| |
| createHttpClientMetrics | back to summary |
|---|---|
| public default HttpClientMetrics Provides the http client metrics SPI when an http client has been created.
No specific thread and context can be expected when this method is called.
| |
| createHttpServerMetrics | back to summary |
|---|---|
| public default HttpServerMetrics Provides the http server metrics SPI when an http server is created.
No specific thread and context can be expected when this method is called.
Note: this method can be called more than one time for the same
| |
| createNetClientMetrics | back to summary |
|---|---|
| public default TCPMetrics Provides the net client metrics SPI when a net client is created.
No specific thread and context can be expected when this method is called.
| |
| createNetServerMetrics | back to summary |
|---|---|
| public default TCPMetrics Provides the net server metrics SPI when a net server is created.
No specific thread and context can be expected when this method is called.
Note: this method can be called more than one time for the same
| |
| createPoolMetrics | back to summary |
|---|---|
| public default PoolMetrics Provides the pool metrics SPI.
| |
| vertxCreated | back to summary |
|---|---|
| public default void vertxCreated(Vertx vertx) Callback to signal when the Vertx instance is fully initialized. Other methods can be called before this method when the instance is being constructed.
| |