@ThreadSafe public class JmxIOStatisticsView extends StandardMBean implements JmxIOStatisticsMXBean
| Modifier and Type | Field and Description |
|---|---|
private static MBeanServer |
mbs |
private JmxIOStatistics |
model |
private String |
type |
| Modifier | Constructor and Description |
|---|---|
private |
JmxIOStatisticsView(JmxIOStatistics model,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
private static String |
format(long time) |
long |
getBytesRead() |
long |
getBytesWritten() |
protected String |
getDescription(MBeanAttributeInfo info)
Override customization hook:
You can supply a customized description for MBeanAttributeInfo.getDescription()
|
protected String |
getDescription(MBeanInfo info)
Override customization hook:
You can supply a customized description for MBeanInfo.getDescription()
|
protected String |
getDescription(MBeanOperationInfo info)
Override customization hook:
You can supply a customized description for MBeanOperationInfo.getDescription()
|
protected String |
getDescription(MBeanOperationInfo op,
MBeanParameterInfo param,
int sequence)
Override customization hook:
You can supply a customized description for MBeanParameterInfo.getDescription()
|
MBeanInfo |
getMBeanInfo() |
MBeanNotificationInfo[] |
getNotificationInfo() |
private static ObjectName |
getObjectName(JmxIOStatistics model,
String type) |
protected String |
getParameterName(MBeanOperationInfo op,
MBeanParameterInfo param,
int sequence)
Override customization hook:
You can supply a customized description for MBeanParameterInfo.getType()
|
String |
getTimeCreated() |
long |
getTimeCreatedMillis() |
String |
getType() |
(package private) static JmxIOStatisticsMXBean |
register(JmxIOStatistics model,
String type) |
(package private) static void |
unregister(JmxIOStatistics model,
String type) |
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInterface, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationprivate static final MBeanServer mbs
private final JmxIOStatistics model
private final String type
private JmxIOStatisticsView(JmxIOStatistics model, String name)
public void close()
close in interface JmxIOStatisticsMXBeanprivate static String format(long time)
public long getBytesRead()
getBytesRead in interface JmxIOStatisticsMXBeanpublic long getBytesWritten()
getBytesWritten in interface JmxIOStatisticsMXBeanprotected String getDescription(MBeanAttributeInfo info)
getDescription in class StandardMBeanprotected String getDescription(MBeanInfo info)
getDescription in class StandardMBeanprotected String getDescription(MBeanOperationInfo info)
getDescription in class StandardMBeanprotected String getDescription(MBeanOperationInfo op, MBeanParameterInfo param, int sequence)
getDescription in class StandardMBeanpublic MBeanInfo getMBeanInfo()
getMBeanInfo in interface DynamicMBeangetMBeanInfo in class StandardMBeanpublic MBeanNotificationInfo[] getNotificationInfo()
private static ObjectName getObjectName(JmxIOStatistics model, String type)
protected String getParameterName(MBeanOperationInfo op, MBeanParameterInfo param, int sequence)
getParameterName in class StandardMBeanpublic String getTimeCreated()
getTimeCreated in interface JmxIOStatisticsMXBeanpublic long getTimeCreatedMillis()
getTimeCreatedMillis in interface JmxIOStatisticsMXBeanpublic String getType()
getType in interface JmxIOStatisticsMXBeanstatic JmxIOStatisticsMXBean register(JmxIOStatistics model, String type)
static void unregister(JmxIOStatistics model, String type)
Copyright © 2005-2012 Schlichtherle IT Services. All Rights Reserved.