sun.com | docs.sun.com | How To Buy | My Sun | Worldwide Sites |  |

| Previous Contents Index Next
#### Getting the Average Time Taken To Start CMM Services To get the average time in seconds between nodes when starting the CMM, invoke the `getAverageElectionDelay` method. The `getAverageElectionDelay` method takes no parameters, and returns an `int`. This information can be used for tuning the election mechanism. This information is available on the master node only. #### Getting the Number of Master Elections Performed on a Node To get the number of elections processed on the platform, invoke the `getElectionCount` method. The `getElectionCount` method takes no parameters, and returns an `int`. This information is available on the master node only. #### Getting the Maximum Time Taken to Elect a Master Node To get the maximum time in seconds between nodes when starting the CMM, invoke the `getMaxElectionDelay` method. The `getMaxElectionDelay` method takes no parameters, and returns an `int`. This information can be used for tuning the election mechanism. This information is available on the master node only. #### Getting the Minimum Time Taken to Elect a Master Node To get the minimum time in seconds between nodes when starting the CMM, invoke the `getMinElectionDelay` method. The `getMinElectionDelay` method takes no parameters, and returns an `int`. This information can be used for tuning the election mechanism. This information is available on the master node only. #### Getting the Number of Nodes Present To get the number of nodes acknowledged by the master node as being present in the cluster, invoke the `getPresentNodeCount` method. The `getPresentNodeCount` method takes no parameters, and returns an `int`. This information is available on the master node only. #### Getting the Number of Switchovers Performed To get the number of switchovers performed, invoke the `getSwitchOverCount` method. The `getSwitchOverCount` method takes no parameters, and returns an `int`. This information is available on the master node only. #### Getting the Number of Currently Connected CMM Clients To get the number of CMM clients currently connected, invoke the `getClientCount` method. The `getClientCount` method takes no parameters, and returns an `int`. This information is available on all nodes. #### Getting the Number of Outstanding Requests To get the number of requests currently outstanding, invoke the `getRequestCount` method. The `getRequestCount` method takes no parameters, and returns an `int`. This information is available on all nodes. #### Getting the Lifetime of the CMM on a Node To get the lifetime of the CMM on this node, expressed in the number of seconds since boot, invoke the `getCmmUpTime` method. The `getCmmUpTime` method takes no parameters, and returns an `int`. This information is available on all nodes.
Previous Contents Index Next

Copyright 1994-2004 Sun Microsystems