|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.management.StandardMBean
com.sun.sgs.impl.profile.ProfileController
class ProfileController
The MXBean for controlling profile information.
| Field Summary |
|---|
| Fields inherited from interface com.sun.sgs.management.ProfileControllerMXBean |
|---|
MXBEAN_NAME |
| Constructor Summary | |
|---|---|
ProfileController(ProfileCollector collector)
Creates a new Profile Controller MXBean object. |
|
| Method Summary | |
|---|---|
ProfileCollector.ProfileLevel |
getConsumerLevel(String consumer)
Gets the current profile level of the named consumer. |
ProfileCollector.ProfileLevel |
getDefaultProfileLevel()
Gets the default profile level for all newly created consumers. |
protected String |
getDescription(MBeanAttributeInfo info)
|
protected String |
getDescription(MBeanInfo info)
|
protected String |
getDescription(MBeanOperationInfo op)
|
protected String |
getDescription(MBeanOperationInfo op,
MBeanParameterInfo param,
int sequence)
|
protected int |
getImpact(MBeanOperationInfo op)
|
protected String |
getParameterName(MBeanOperationInfo op,
MBeanParameterInfo param,
int sequence)
|
String[] |
getProfileConsumers()
Gets the names of all profile consumers in the system. |
void |
setConsumerLevel(String consumer,
ProfileCollector.ProfileLevel level)
Sets the current profile level of the named consumer. |
void |
setDefaultProfileLevel(ProfileCollector.ProfileLevel level)
Sets the default profile level for all newly created consumers. |
| Methods inherited from class javax.management.StandardMBean |
|---|
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProfileController(ProfileCollector collector)
collector - the backing profile collector| Method Detail |
|---|
public String[] getProfileConsumers()
getProfileConsumers in interface ProfileControllerMXBeanpublic ProfileCollector.ProfileLevel getConsumerLevel(String consumer)
getConsumerLevel in interface ProfileControllerMXBeanconsumer - the consumer name
public void setConsumerLevel(String consumer,
ProfileCollector.ProfileLevel level)
setConsumerLevel in interface ProfileControllerMXBeanconsumer - the consumer namelevel - the profile levelpublic ProfileCollector.ProfileLevel getDefaultProfileLevel()
getDefaultProfileLevel in interface ProfileControllerMXBeanpublic void setDefaultProfileLevel(ProfileCollector.ProfileLevel level)
setDefaultProfileLevel in interface ProfileControllerMXBeanlevel - the default profile level for consumer creationprotected String getDescription(MBeanInfo info)
getDescription in class StandardMBeanprotected String getDescription(MBeanAttributeInfo info)
getDescription in class StandardMBeanprotected String getDescription(MBeanOperationInfo op)
getDescription in class StandardMBean
protected String getDescription(MBeanOperationInfo op,
MBeanParameterInfo param,
int sequence)
getDescription in class StandardMBean
protected String getParameterName(MBeanOperationInfo op,
MBeanParameterInfo param,
int sequence)
getParameterName in class StandardMBeanprotected int getImpact(MBeanOperationInfo op)
getImpact in class StandardMBean
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||