public class InstanceReaderImpl extends Object implements InstanceReader
| Constructor and Description |
|---|
InstanceReaderImpl(Domain domain,
Server server) |
InstanceReaderImpl(Domain domain,
ServerRef ref)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor v)
Accepts a visitor and calls its visit
method
|
String |
getDisableTimeoutInMinutes()
This is used in quicescing.
|
boolean |
getLbEnabled()
Returns if the server is enabled in the load balancer or not.
|
String |
getListeners()
Enlists both http and https listeners of this server instance
It will be form "http:
|
String |
getName()
Return server instance's name.
|
String |
getWeight()
This is used in weighted round robin.
|
public String getName() throws LbReaderException
getName in interface InstanceReaderLbReaderExceptionpublic boolean getLbEnabled()
throws LbReaderException
getLbEnabled in interface InstanceReaderLbReaderExceptionpublic String getDisableTimeoutInMinutes() throws LbReaderException
getDisableTimeoutInMinutes in interface InstanceReaderLbReaderExceptionpublic String getWeight() throws LbReaderException
getWeight in interface InstanceReaderLbReaderExceptionpublic String getListeners() throws LbReaderException
getListeners in interface InstanceReaderLbReaderExceptionpublic void accept(Visitor v) throws Exception
BaseReaderaccept in interface BaseReaderExceptionCopyright © 2017. All rights reserved.