Package zipkin2
Class CheckResult
- java.lang.Object
-
- zipkin2.CheckResult
-
public final class CheckResult extends Object
Answers the question: Are operations on this component likely to succeed?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.
- See Also:
OK
-
-
Field Summary
Fields Modifier and Type Field Description static CheckResult
OK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
error()
Present when not okstatic CheckResult
failed(Throwable error)
boolean
ok()
String
toString()
-
-
-
Field Detail
-
OK
public static final CheckResult OK
-
-