| java.lang.Object org.apache.geronimo.monitoring.console.MRCConnector
MRCConnector | public class MRCConnector (Code) | | |
Method Summary | |
public Set<String> | getAllMbeanNames() | public HashMap<String, ArrayList<String>> | getAllSnapshotStatAttributes() | public HashMap<String, ArrayList<String>> | getDataNameList() | public Set<String> | getFreeStatisticsProviderBeanNames() | public TreeMap<String, String> | getFreeStatisticsProviderBeanNamesMap() | public Set<String> | getFreeStatisticsProviderBeanNamesPretty() | public HashMap<String, HashMap<String, Object>> | getLatestSnapshots() | public Long | getSnapshotDuration() | public int | getSnapshotRetention() | public ArrayList<HashMap<String, HashMap<String, Object>>> | getSnapshots(int snapCount, int skipCount) Parameters: snapCount - -Number of snapshots to request from the server Parameters: skipCount - -Every nth snapshot. | public TreeMap<Long, Long> | getSpecificStatistics(String mbeanName, String statsName, int snapCount, int skipCount, boolean showArchive) | public Set<String> | getStatAttributesOnMBean(String mBean) | public Set<String> | getStatisticsProviderBeanNames() | public TreeMap<String, String> | getStatisticsProviderBeanNamesMap() | public Set<String> | getStatisticsProviderBeanNamesPretty() | public HashMap<String, Long> | getStats(String MBean) | public Set<String> | getTrackedBeans() | public TreeMap<String, String> | getTrackedBeansMap() | public Set<String> | getTrackedBeansPretty() | public int | isSnapshotRunning() | public void | setSnapshotDuration(long duration) | public void | setSnapshotRetention(int duration) | public boolean | startSnapshotThread(long time) | public boolean | startTrackingMbean(String MBean) | public boolean | stopSnapshotThread() | public boolean | stopTrackingMbean(String MBean) |
MRCConnector | MRCConnector()(Code) | | |
MRCConnector | public MRCConnector(String ip, String userName, String password, int port, int protocol) throws Exception(Code) | | Parameters: ip - -IP address of mrc-server to connect to Parameters: userName - -Username for JMX connection to the host Parameters: password - -Password for JMX connection to the host throws: Exception - -If the connection to mrc-server fails |
getDataNameList | public HashMap<String, ArrayList<String>> getDataNameList() throws Exception(Code) | | - Returns an ArrayList of String objects containing a listing ofall statistics values being collected throws: Exception - -If the connection to the MRC-Server fails |
getFreeStatisticsProviderBeanNamesPretty | public Set<String> getFreeStatisticsProviderBeanNamesPretty() throws Exception(Code) | | |
getSnapshotDuration | public Long getSnapshotDuration() throws Exception(Code) | | - Returns an Long representing the current snapshot duration seton the server side throws: Exception - -If the connection to the MRC-Server fails |
getSnapshotRetention | public int getSnapshotRetention()(Code) | | |
getSnapshots | public ArrayList<HashMap<String, HashMap<String, Object>>> getSnapshots(int snapCount, int skipCount) throws Exception(Code) | | Parameters: snapCount - -Number of snapshots to request from the server Parameters: skipCount - -Every nth snapshot. A value of 1 will be every 1. A value of 2will be every other. - Returns an ArrayList of Map objects. throws: Exception - -If the connection to the MRC-Server fails |
isSnapshotRunning | public int isSnapshotRunning()(Code) | | |
setSnapshotDuration | public void setSnapshotDuration(long duration)(Code) | | |
setSnapshotRetention | public void setSnapshotRetention(int duration)(Code) | | |
startSnapshotThread | public boolean startSnapshotThread(long time) throws Exception(Code) | | - Returns a boolean indicating successful stop throws: Exception - -If the connection to the MRC-Server fails |
stopSnapshotThread | public boolean stopSnapshotThread() throws Exception(Code) | | - Returns a boolean indicating successful stop throws: Exception - -If the connection to the MRC-Server fails |
|
|