public class HealthCheckerReaderImpl extends Object implements HealthCheckerReader
| Constructor and Description |
|---|
HealthCheckerReaderImpl() |
HealthCheckerReaderImpl(HealthChecker hc)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor v)
Accepts a visitor and calls its visit
method
|
String |
getIntervalInSeconds()
Health checker runs in the specified interval time.
|
String |
getTimeoutInSeconds()
Timeout where a server is considered un healthy.
|
String |
getUrl()
Return health checker url
|
public HealthCheckerReaderImpl()
public HealthCheckerReaderImpl(HealthChecker hc)
public String getUrl() throws LbReaderException
getUrl in interface HealthCheckerReaderLbReaderExceptionpublic String getIntervalInSeconds() throws LbReaderException
getIntervalInSeconds in interface HealthCheckerReaderLbReaderExceptionpublic String getTimeoutInSeconds() throws LbReaderException
getTimeoutInSeconds in interface HealthCheckerReaderLbReaderExceptionpublic void accept(Visitor v) throws Exception
BaseReaderaccept in interface BaseReaderExceptionCopyright © 2019. All rights reserved.