Package com.tangosol.util
Class HealthCheckClient
- java.lang.Object
-
- com.tangosol.util.HealthCheckClient
-
public class HealthCheckClient extends Object
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
Constructors Constructor Description HealthCheckClient()
-
-
-
Method Detail
-
main
public static void main(String[] asArg)
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
-
-