| Modifier and Type | Method and Description |
|---|---|
static PingStatus |
PingStatus.error(PingDestination destination,
int code,
long timestamp)
Returns a new timeout
PingStatus with the given PingDestination, HTTP response code. |
static PingStatus |
PingStatus.timeout(PingDestination destination,
long timestamp,
int duration)
Returns a new
PingStatus with the given PingDestination, timestamp,
duration and timedOut set to true. |
| Modifier and Type | Method and Description |
|---|---|
Future<PingStatus> |
Pinger.ping(PingDestination destination)
Performs a test request against the given
PingDestination. |
| Modifier and Type | Method and Description |
|---|---|
void |
TraitsPublisher.publish(PingStatus status)
Stores the
Traits of the given PingStatus in Hawkular Inventory. |
void |
MetricPublisher.publish(PingStatus status)
Submits data from
PingStatus to Metrics via Bus |
Copyright © 2015–2016 Red Hat. All rights reserved.