Package com.tangosol.util
Class HealthCheckClient
java.lang.Object
com.tangosol.util.HealthCheckClient
A simple executable class that will perform a health check query
against a specific URL.
- Since:
- 22.06
- Author:
- Jonathan Knight 2022.02.14
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
HealthCheckClient
public HealthCheckClient()
-
-
Method Details
-
main
Run the health check.The first program argument should be the URL to call.
The method will exit with a zero exit code if the request returns a 200 response, otherwise the method will exit with an exit code of one.
- Parameters:
asArg
- the program arguments
-