public class PingUrl
extends java.lang.Object
implements com.netflix.loadbalancer.IPing
| Constructor and Description |
|---|
PingUrl() |
PingUrl(boolean isSecure,
java.lang.String pingAppendString) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getExpectedContent() |
java.lang.String |
getPingAppendString() |
boolean |
isAlive(com.netflix.loadbalancer.Server server) |
boolean |
isSecure() |
static void |
main(java.lang.String[] args) |
void |
setExpectedContent(java.lang.String expectedContent)
Is there a particular content you are hoping to see?
If so -set this here.
|
void |
setPingAppendString(java.lang.String pingAppendString) |
void |
setSecure(boolean isSecure)
Should the Secure protocol be used to Ping
|
public PingUrl()
public PingUrl(boolean isSecure,
java.lang.String pingAppendString)
public void setPingAppendString(java.lang.String pingAppendString)
public java.lang.String getPingAppendString()
public boolean isSecure()
public void setSecure(boolean isSecure)
isSecure - public java.lang.String getExpectedContent()
public void setExpectedContent(java.lang.String expectedContent)
expectedContent - public boolean isAlive(com.netflix.loadbalancer.Server server)
isAlive in interface com.netflix.loadbalancer.IPingpublic static void main(java.lang.String[] args)