| Modifier and Type | Method and Description |
|---|---|
static PingDestination |
PingDestination.from(org.hawkular.inventory.api.model.Resource r) |
PingDestination |
PingStatus.getDestination() |
| 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. |
Future<PingStatus> |
Pinger.ping(PingDestination destination)
Performs a test request against the given
PingDestination. |
static PingStatus |
PingStatus.timeout(PingDestination destination,
long timestamp,
int duration)
Returns a new
PingStatus with the given PingDestination, timestamp,
duration and PingStatus.timedOut set to true. |
| Modifier and Type | Method and Description |
|---|---|
void |
UrlChangesCollector.apply(Set<PingDestination> destinations)
Applies the
UrlChanges collected by this UrlChangesCollector to the given Set of
PingDestinations - i.e. |
| Constructor and Description |
|---|
PingStatus(PingDestination destination,
int code,
long timestamp,
int duration,
Traits traits)
|
Copyright © 2015–2016 Red Hat. All rights reserved.