Home » geronimo-2.2-source-release » org.apache.geronimo.monitoring.console » [javadoc | source]
org.apache.geronimo.monitoring.console
public class: MRCConnector [javadoc | source]
java.lang.Object
   org.apache.geronimo.monitoring.console.MRCConnector
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Constructor:
 MRCConnector() 
 public MRCConnector(Node node) throws Exception 
 public MRCConnector(String ip,
    String userName,
    String password,
    int port,
    String protocol) throws Exception 
    Parameters:
    ip - - IP address of mrc-server to connect to
    userName - - Username for JMX connection to the host
    password - - Password for JMX connection to the host
    Throws:
    Exception - - If the connection to mrc-server fails
Method from org.apache.geronimo.monitoring.console.MRCConnector Summary:
dispose,   getAllMbeanNames,   getAllSnapshotStatAttributes,   getDataNameList,   getFreeStatisticsProviderBeanNames,   getFreeStatisticsProviderBeanNamesMap,   getFreeStatisticsProviderBeanNamesPretty,   getLatestSnapshots,   getSnapshotDuration,   getSnapshotRetention,   getSnapshots,   getSpecificStatistics,   getStatAttributesOnMBean,   getStatisticsProviderBeanNames,   getStatisticsProviderBeanNamesMap,   getStatisticsProviderBeanNamesPretty,   getStats,   getTrackedBeans,   getTrackedBeansMap,   getTrackedBeansPretty,   isSnapshotRunning,   setSnapshotDuration,   setSnapshotRetention,   startSnapshotThread,   startTrackingMbean,   stopSnapshotThread,   stopTrackingMbean
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.monitoring.console.MRCConnector Detail:
 public  void dispose() 
 public Set<String> getAllMbeanNames() throws Exception 
 public HashMap<String> getAllSnapshotStatAttributes() throws Exception 
 public HashMap<String> getDataNameList() throws Exception 
 public Set<String> getFreeStatisticsProviderBeanNames() throws Exception 
 public TreeMap<String, String> getFreeStatisticsProviderBeanNamesMap() throws Exception 
 public Set<String> getFreeStatisticsProviderBeanNamesPretty() throws Exception 
 public HashMap<String, Object> getLatestSnapshots() throws Exception 
 public Long getSnapshotDuration() throws Exception 
 public int getSnapshotRetention() 
 public ArrayList<String, Object> getSnapshots(int snapCount,
    int skipCount) throws Exception 
 public TreeMap<Long, Long> getSpecificStatistics(String mbeanName,
    String statsName,
    int snapCount,
    int skipCount,
    boolean showArchive) throws Exception 
 public Set<String> getStatAttributesOnMBean(String mBean) throws Exception 
 public Set<String> getStatisticsProviderBeanNames() throws Exception 
 public TreeMap<String, String> getStatisticsProviderBeanNamesMap() throws Exception 
 public Set<String> getStatisticsProviderBeanNamesPretty() throws Exception 
 public HashMap<String, Long> getStats(String MBean) throws Exception 
 public Set<String> getTrackedBeans() throws Exception 
 public TreeMap<String, String> getTrackedBeansMap() throws Exception 
 public Set<String> getTrackedBeansPretty() throws Exception 
 public int isSnapshotRunning() 
 public  void setSnapshotDuration(long duration) 
 public  void setSnapshotRetention(int duration) 
 public boolean startSnapshotThread(long time) throws Exception 
 public boolean startTrackingMbean(String MBean) throws Exception 
 public boolean stopSnapshotThread() throws Exception 
 public boolean stopTrackingMbean(String MBean) throws Exception