|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.loadbalancer.admin.cli.reader.impl.InstanceReaderImpl
public class InstanceReaderImpl
Provides instance information relavant to Load balancer tier.
| Constructor Summary | |
|---|---|
InstanceReaderImpl(Domain domain,
Server server)
|
|
InstanceReaderImpl(Domain domain,
ServerRef ref)
Constructor |
|
| Method Summary | |
|---|---|
void |
accept(Visitor v)
Accepts a visitor and calls its visit method |
java.lang.String |
getDisableTimeoutInMinutes()
This is used in quicescing. |
boolean |
getLbEnabled()
Returns if the server is enabled in the load balancer or not. |
java.lang.String |
getListeners()
Enlists both http and https listeners of this server instance It will be form "http: |
java.lang.String |
getName()
Return server instance's name. |
java.lang.String |
getWeight()
This is used in weighted round robin. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InstanceReaderImpl(Domain domain,
ServerRef ref)
public InstanceReaderImpl(Domain domain,
Server server)
| Method Detail |
|---|
public java.lang.String getName()
throws LbReaderException
getName in interface InstanceReaderLbReaderException
public boolean getLbEnabled()
throws LbReaderException
getLbEnabled in interface InstanceReaderLbReaderException
public java.lang.String getDisableTimeoutInMinutes()
throws LbReaderException
getDisableTimeoutInMinutes in interface InstanceReaderLbReaderException
public java.lang.String getWeight()
throws LbReaderException
getWeight in interface InstanceReaderLbReaderException
public java.lang.String getListeners()
throws LbReaderException
getListeners in interface InstanceReaderLbReaderException
public void accept(Visitor v)
throws java.lang.Exception
BaseReader
accept in interface BaseReaderjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||