public class PingProvider
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static PingProvider |
instance |
private static org.slf4j.Logger |
logger
The logger.
|
Modifier | Constructor and Description |
---|---|
private |
PingProvider() |
Modifier and Type | Method and Description |
---|---|
static PingProvider |
getInstance() |
boolean |
isReachableByPing(java.lang.String targetHost,
PingMeta pingMeta) |
boolean |
isReachableByPingHelper(java.lang.String targetHost,
PingMeta pingMeta) |
private static org.slf4j.Logger logger
private static PingProvider instance
public static PingProvider getInstance()
public boolean isReachableByPing(java.lang.String targetHost, PingMeta pingMeta)
public boolean isReachableByPingHelper(java.lang.String targetHost, PingMeta pingMeta)