
Methods that get runtime data:
Methods that get calculation data:
Example
ObjectName name8 = new ObjectName("com.sap.default:name=\"/Applications/Bank Information/General Information/Open for clients\",j2eeType=SAP_MonitorPerNode,SAP_J2EEClusterNode=\"\",SAP_J2EECluster=\"\"");
Boolean result8_1 = (Boolean) mbs.getAttribute(name8, "getValue", null, null);
Double result8_2 = (Double) mbs.getAttribute(name8, "getAvailability", null, null);
Long result8_3 = (Long) mbs.getAttribute(name8, "getTimeOnTrueInMilliseconds", null, null);
Long result8_4 = (Long) mbs.getAttribute(name8, "getTimeOnFalseInMilliseconds", null, null);
Method that returns runtime data:
Methods returning some computation data:
Example
ObjectName name3 = new ObjectName("com.sap.default:name=\"/Applications/Bank Information/General Information/Currently served clients\",j2eeType=SAP_MonitorPerNode,SAP_J2EEClusterNode=\"\",SAP_J2EECluster=\"\"");
Integer result3_1 = (Integer) mbs.getAttribute(name3, "getValue", null, null);
Integer result3_2 = (Integer) mbs.getAttribute(name3, "getMaxValue", null, null);
Integer result3_3 = (Integer) mbs.getAttribute(name3, "getMinValue", null, null);
Method that returns runtime data:
Methods returning some computation data:
Example
ObjectName name4 = new ObjectName("com.sap.default:name=\"/Applications/Bank Information/General Information/Served clients\",j2eeType=SAP_MonitorPerNode,SAP_J2EEClusterNode=\"\",SAP_J2EECluster=\"\"");
Long result4_1 = (Long) mbs.getAttribute(name4, "getValue", null, null);
Long result4_2 = (Long) mbs.getAttribute(name4, "getMaxValue", null, null);
Long result4_3 = (Long) mbs.getAttribute(name4, "getMinValue", null, null);
Method that returns runtime data:
Methods returning some computation data:
Example
ObjectName name2 = new ObjectName("com.sap.default:name=\"/Applications/Bank Information/General Information/Transaction frequency\",j2eeType=SAP_MonitorPerNode,SAP_J2EEClusterNode=\"\",SAP_J2EECluster=\"\"");
Double result2_1 = (Double) mbs.getAttribute(name2, "getFrequency", null, null);
Double result2_2 = (Double) mbs.getAttribute(name2, "getMaxFrequency", null, null);
Double result2_3 = (Double) mbs.getAttribute(name2, "getMinFrequency", null, null);
Methods that return runtime data:
Methods returning some computation data:
Example
ObjectName name7 = new ObjectName("com.sap.default:name=\"/Applications/Bank Information/General Information/Transactions over 10,000 EUR\",j2eeType=SAP_MonitorPerNode,SAP_J2EEClusterNode=\"\",SAP_J2EECluster=\"\"");
Long result7_1 = (Long) mbs.getAttribute(name7, "getTotalTries", null, null);
Long result7_2 = (Long) mbs.getAttribute(name7, "getSuccessfulTries", null, null);
Double result7_3 = (Double) mbs.getAttribute(name7, "getMinQualityRate", null, null);
Double result7_4 = (Double) mbs.getAttribute(name7, "getMaxQualityRate", null, null);
Double result7_5 = (Double) mbs.getAttribute(name7, "getCurrentQualityRate", null, null);
Double result7_6 = (Double) mbs.getAttribute(name7, "getAverageQualityRate", null, null);
Methods that get runtime data:
Methods that get computation data:
Example
ObjectName name11 = new ObjectName("com.sap.default:name=\"/Applications/Bank Information/General Information/Transaction duration\",j2eeType=SAP_MonitorPerNode,SAP_J2EEClusterNode=\"\",SAP_J2EECluster=\"\"");
Long result11_1 = (Long) mbs.getAttribute(name11, "getTotalNumber", null, null);
Long result11_2 = (Long) mbs.getAttribute(name11, "getTotalTime", null, null); Double result11_3 = (Double) mbs.getAttribute(name11, "getCurrentDuration", null, null);
Double result11_4 = (Double) mbs.getAttribute(name11, "getAverageDuration", null, null);