public final class CheckResult extends Object
Implementations should initialize the component if necessary. It should test a remote connection, or consult a trusted source to derive the result. They should use least resources possible to establish a meaningful result, and be safe to call many times, even concurrently.
OK| Modifier and Type | Field and Description |
|---|---|
static CheckResult |
OK |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
error()
Present when not ok
|
static CheckResult |
failed(Throwable error) |
boolean |
ok() |
String |
toString() |
public static final CheckResult OK
Copyright © 2015–2019 OpenZipkin. All rights reserved.