public class CheckMonitor extends java.lang.Object implements java.util.concurrent.Callable<java.util.Optional<CheckStats>>
Constructor and Description |
---|
CheckMonitor(Protos.HealthCheck healthCheck,
CheckHandler healthCheckHandler,
LaunchedTask launchedTask,
java.lang.String checkType) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<CheckStats> |
call() |
public CheckMonitor(Protos.HealthCheck healthCheck, CheckHandler healthCheckHandler, LaunchedTask launchedTask, java.lang.String checkType)
public java.util.Optional<CheckStats> call() throws java.lang.Exception
call
in interface java.util.concurrent.Callable<java.util.Optional<CheckStats>>
java.lang.Exception