| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | JCmd.
Class to compare two Monitor objects by name in ascending order. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static void | |
| public static void |
| JCmd | back to summary |
|---|---|
| public JCmd() | |
| executeCommandForPid | back to summary |
|---|---|
| private static void executeCommandForPid(String pid, String command) throws AttachNotSupportedException, IOException, UnsupportedEncodingException | |
| listCounters | back to summary |
|---|---|
| private static void listCounters(String pid) | |
| main | back to summary |
|---|---|
| public static void main(String[] args) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(Monitor m1, Monitor m2)
Implements java. Compares its two arguments for order. |
| AscendingMonitorComparator | back to summary |
|---|---|
| pack-priv AscendingMonitorComparator() | |
| compare | back to summary |
|---|---|
| public int compare(Monitor m1, Monitor m2) Implements java. Doc from java. Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
The implementor must ensure that
The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that | |