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 HealthCheckerReader
LbReaderException
public String getIntervalInSeconds() throws LbReaderException
getIntervalInSeconds
in interface HealthCheckerReader
LbReaderException
public String getTimeoutInSeconds() throws LbReaderException
getTimeoutInSeconds
in interface HealthCheckerReader
LbReaderException
public void accept(Visitor v) throws Exception
BaseReader
accept
in interface BaseReader
Exception
Copyright © 2019. All rights reserved.