public interface VmUpdate
Modifier and Type | Method and Description |
---|---|
Long |
getPerformanceCounterLong(String name)
Queries the specified JVM performance counter with a Long data type.
|
String |
getPerformanceCounterString(String name)
Queries the specified JVM performance counter with a String data type.
|
Long getPerformanceCounterLong(String name) throws VmUpdateException
name
- - The name of the performance counterVmUpdateException
- if there is a problem communicating with
the JVMClassCastException
- if the value of the counter is not a LongString getPerformanceCounterString(String name) throws VmUpdateException
name
- - The name of the performance counterVmUpdateException
- if there is a problem communicating with
the JVMClassCastException
- if the value of the counter is not a StringCopyright © 2017. All rights reserved.