Interface CoreTarget
- All Superinterfaces:
AutoCloseable
A target of the
core conformance category that is not the service client: a fake for unit
tests of the runner, or an adapter for a client whose core methods differ. CoreOps
accepts a CoreTarget or the service client.-
Method Details
-
health
HealthStatus health()Checks liveness; never throws for an unhealthy service.- Returns:
- the health status
-
ping
Duration ping()Performs an authenticated round trip.- Returns:
- the latency
-
serverVersion
String serverVersion()Returns the server version.- Returns:
- the version text
-
close
void close()Releases the target; idempotent.- Specified by:
closein interfaceAutoCloseable
-