private static class PingWorker.PingTask extends java.lang.Object implements java.util.concurrent.Callable<ResponseOnSingeRequest>
Modifier and Type | Field and Description |
---|---|
private PingMeta |
pingMeta
The ping meta.
|
private java.lang.String |
targetHost
The target host.
|
Constructor and Description |
---|
PingTask(java.lang.String targetHost,
PingMeta pingMeta)
Instantiates a new ping task.
|
Modifier and Type | Method and Description |
---|---|
ResponseOnSingeRequest |
call() |
private java.lang.String targetHost
private PingMeta pingMeta
public PingTask(java.lang.String targetHost, PingMeta pingMeta)
targetHost
- the target hostpingMeta
- the ping metapublic ResponseOnSingeRequest call() throws java.lang.Exception
call
in interface java.util.concurrent.Callable<ResponseOnSingeRequest>
java.lang.Exception