Class TcpHealthCheck
- java.lang.Object
-
- uk.co.ractf.polaris.api.common.JsonRepresentable
-
- uk.co.ractf.polaris.api.healthcheck.HealthCheck
-
- uk.co.ractf.polaris.api.healthcheck.TcpHealthCheck
-
public class TcpHealthCheck extends HealthCheck
Represents a healthcheck that checks a tcp port is open with a given timeout{ "id": "tcpconnect", "type": "tcp", "port": 6000, "timeout": 15 }
-
-
Constructor Summary
Constructors Constructor Description TcpHealthCheck(java.lang.String id, java.lang.String type, java.lang.Integer port, java.lang.Integer timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.Integer
getPort()
java.lang.Integer
getTimeout()
int
hashCode()
-
Methods inherited from class uk.co.ractf.polaris.api.healthcheck.HealthCheck
getId
-
Methods inherited from class uk.co.ractf.polaris.api.common.JsonRepresentable
parse, toJsonString
-
-