|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProfileControllerMXBean
The management information for this node's profiling data. The profiling levels for each of the individual profile consumers can be modified through this interface.
An instance implementing this MBean can be obtained from the from the
getPlatformMBeanServer method.
The ObjectName for uniquely identifying this MBean is
"com.sun.sgs:type=ProfileController".
| Field Summary | |
|---|---|
static String |
MXBEAN_NAME
The name for uniquely identifying this MBean. |
| 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. |
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. |
| Field Detail |
|---|
static final String MXBEAN_NAME
| Method Detail |
|---|
ProfileCollector.ProfileLevel getDefaultProfileLevel()
void setDefaultProfileLevel(ProfileCollector.ProfileLevel level)
level - the default profile level for consumer creationString[] getProfileConsumers()
ProfileCollector.ProfileLevel getConsumerLevel(String consumer)
consumer - the consumer name
IllegalArgumentException - if the consumer has not been created
void setConsumerLevel(String consumer,
ProfileCollector.ProfileLevel level)
consumer - the consumer namelevel - the profile level
IllegalArgumentException - if the consumer has not been created
|
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 | |||||||||