| Package | Description |
|---|---|
| org.apache.slider.server.servicemonitor |
| Modifier and Type | Class and Description |
|---|---|
class |
HttpProbe |
class |
PortProbe
Probe for a port being open
|
class |
YarnApplicationProbe
Probe for YARN application
|
| Modifier and Type | Field and Description |
|---|---|
protected Probe |
ProbeWorker.currentProbe |
| Modifier and Type | Method and Description |
|---|---|
Probe |
ProbeWorker.getCurrentProbe() |
Probe |
ProbeStatus.getOriginator()
Get the probe that generated this result.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProbeStatus.fail(Probe probe,
Throwable thrown)
A probe has failed either because the test returned false, or an exception
was thrown.
|
void |
ProbeStatus.finish(Probe probe,
boolean succeeded,
String text,
Throwable thrown) |
void |
ReportingLoop.probeTimedOut(ProbePhase currentPhase,
Probe probe,
ProbeStatus lastStatus,
long currentTime) |
void |
ProbeReportHandler.probeTimedOut(ProbePhase currentPhase,
Probe probe,
ProbeStatus lastStatus,
long currentTime)
A probe has timed out
|
void |
ProbeStatus.succeed(Probe probe)
The probe has succeeded -capture the current timestamp, set
success to true, and record any other data needed.
|
| Constructor and Description |
|---|
ProbeWorker(List<Probe> monitorProbes,
List<Probe> dependencyProbes,
int interval,
int bootstrapTimeout)
Create a probe worker
|
ProbeWorker(List<Probe> monitorProbes,
List<Probe> dependencyProbes,
int interval,
int bootstrapTimeout)
Create a probe worker
|
ReportingLoop(String name,
ProbeReportHandler reporter,
List<Probe> probes,
List<Probe> dependencyProbes,
int probeInterval,
int reportInterval,
int probeTimeout,
int bootstrapTimeout) |
ReportingLoop(String name,
ProbeReportHandler reporter,
List<Probe> probes,
List<Probe> dependencyProbes,
int probeInterval,
int reportInterval,
int probeTimeout,
int bootstrapTimeout) |
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.