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 InstanceReader
LbReaderException
public boolean getLbEnabled() throws LbReaderException
getLbEnabled
in interface InstanceReader
LbReaderException
public String getDisableTimeoutInMinutes() throws LbReaderException
getDisableTimeoutInMinutes
in interface InstanceReader
LbReaderException
public String getWeight() throws LbReaderException
getWeight
in interface InstanceReader
LbReaderException
public String getListeners() throws LbReaderException
getListeners
in interface InstanceReader
LbReaderException
public void accept(Visitor v) throws Exception
BaseReader
accept
in interface BaseReader
Exception
Copyright © 2021. All rights reserved.