|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LoadBalancer
Runtime counterpart for the config MBean LoadBalancerConfig
representing the load-balancer element.
Field Summary | |
---|---|
static String |
J2EE_TYPE
The j2eeType as returned by AMX.getJ2EEType() . |
Fields inherited from interface com.sun.appserv.management.base.AMX |
---|
FULL_TYPE_DELIM, GROUP_CONFIGURATION, GROUP_JSR77, GROUP_MONITORING, GROUP_OTHER, GROUP_UTILITY, J2EE_TYPE_KEY, JMX_DOMAIN, NAME_KEY, NO_NAME, NOTIFICATION_PREFIX, NULL_NAME |
Method Summary | |
---|---|
void |
applyLBChanges()
Applies changes in the corresponding configuration to this LB |
Date |
getLastApplied()
Returns the timestamp of the most recent application of corresponding LBConfig |
Date |
getLastExported()
Returns the timestamp of the most recent export of corresponding LBConfig |
Date |
getLastResetTime()
Returns the timestamp of the last time the stats on this loadbalancer were reset |
String |
getLoadBalancerXML()
Exports the corresponding LBConfig information and returns the contents as a string. |
String |
getStatus(String instanceName)
Returns the uhealthy/healthy/quiesced status for an insatnce load balanced by this load balancer. |
boolean |
isApplyChangeRequired()
|
void |
resetStats()
Reset the monitoring stats on this loadbalancer. |
boolean |
testConnection()
Reset the monitoring stats on this loadbalancer. |
Methods inherited from interface com.sun.appserv.management.base.AMX |
---|
getContainer, getDomainRoot, getFullType, getGroup, getJ2EEType, getName, isDAS |
Methods inherited from interface javax.management.NotificationEmitter |
---|
removeNotificationListener |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Methods inherited from interface com.sun.appserv.management.base.AMXMBeanLogging |
---|
getMBeanLoggerName, getMBeanLogLevel, setMBeanLogLevel |
Field Detail |
---|
static final String J2EE_TYPE
AMX.getJ2EEType()
.
Method Detail |
---|
void applyLBChanges()
boolean isApplyChangeRequired()
String getLoadBalancerXML()
LBConfig
Date getLastExported()
Date getLastApplied()
Date getLastResetTime()
void resetStats()
boolean testConnection()
String getStatus(String instanceName)
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.