public final class SystemInfoImpl extends AMXImplBase
EMPTY_OBJECT_NAMES, GET, GET_PREFIX, mMBeanInfo, OBJECT_NAME_SUFFIX, SETEMPTY_STRING_ARRAY, mSelfObjectName, mServer| Constructor and Description |
|---|
SystemInfoImpl(MBeanServer server) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFeature(String featureName,
boolean available)
Advertise the presence of a feature.
|
String[] |
getFeatureNames() |
Map<String,Long> |
getPerformanceMillis()
Return a Map keyed by an arbitrary String denoting some feature.
|
boolean |
supportsFeature(String key) |
attributeNameToType, attributeTypeMatches, cdebug, child, child, child, findGetter, findMethod, findSetter, getAncestorByType, getAttribute, getAttributeByMethod, getAttributeInfo, getAttributeInfos, getAttributeInternal, getAttributeManually, getAttributeNames, getAttributeNoThrow, getAttributes, getAttributeType, getChildren, getChildren, getChildren, getChildren, getChildrenMap, getDomainRoot, getDomainRootProxy, getLogger, getMBeanInfo, getMBeanTracker, getName, getNotificationInfo, getObjectNameAttribute, getObjectNames, getObjectNamesForAttribute, getParent, getParentProxy, getProxy, getProxyFactory, getSelf, getSelf, getterNameMatches, handleException, handleGetAttributeException, handleInvokeThrowable, impossible, invoke, invokeManually, isReadOnlyAttribute, isUtilityMBean, java, operationNameMatches, postRegisterHook, postRegisterModifyMBeanInfo, preDeregisterHook, preRegister, preRegisterDone, preRegisterHook, preRegisterModifyName, registerChild, registerChildren, sendAttributeChangeNotification, setAttribute, setAttributeByMethod, setAttributeInternal, setAttributeManually, setAttributes, shouldEmitNotifications, stringify, supportsChildren, toString, unimplementedAttribute, unimplementedOperation, unregisterChildren_getMBeanLogLevel, addNotificationListener, addNotificationListener, createNotificationBuilder, debug, debug, debugMethod, debugMethod, enableAMXDebug, getAMXDebug, getDebugID, getDebugOutput, getJMXDomain, getListenerCount, getMBeanLogger, getMBeanLoggerName, getMBeanLogLevel, getMBeanLogLevelInt, getMBeanServer, getNotificationBuilder, getNotificationEmitter, getNotificationTypeListenerCount, getObjectName, logFine, logFiner, logFinest, logInfo, logSevere, logWarning, postDeregister, postDeregisterHook, postRegister, preDeregister, quote, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification, sendNotification, setAMXDebug, setMBeanLogLevel, shouldOmitObjectNameForDebug, sleepMillis, toString, traceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitremoveNotificationListeneraddNotificationListener, removeNotificationListenerpublic SystemInfoImpl(MBeanServer server)
public void addFeature(String featureName, boolean available)
To change a feature�s availability to unavailable, pass 'false' for 'available' (there is no removeFeature() call). This is discouraged unless dynamic presence/absence is an inherent characteristic of the feature; clients might check only once for presence or absence.
featureName - name of the featureavailable - should be 'true' unless an explicit 'false' (unavailable) is desiredpublic String[] getFeatureNames()
public boolean supportsFeature(String key)
public Map<String,Long> getPerformanceMillis()
Copyright © 2017. All rights reserved.