|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RuntimeMXBean
This interface exposes runtime-specific information. It is Jrockit-specific extension of java.lang.management.RuntimeMXBean.
Method Summary | |
---|---|
int[] |
getProcessAffinity()
Returns a collection with the CPUs that the JVM process currently is running on. |
void |
setProcessAffinity(int[] bitmask)
Sets the process affinity on the selected system. |
Methods inherited from interface java.lang.management.RuntimeMXBean |
---|
getBootClassPath, getClassPath, getInputArguments, getLibraryPath, getManagementSpecVersion, getName, getSpecName, getSpecVendor, getSpecVersion, getStartTime, getSystemProperties, getUptime, getVmName, getVmVendor, getVmVersion, isBootClassPathSupported |
Method Detail |
---|
void setProcessAffinity(int[] bitmask)
bitmask
- the bitmask representing what CPU's to use for the JVM process
as described above. If null, this is a noop.
SecurityPermission
- if you don't have the control permission set.ManagementPermission
int[] getProcessAffinity()
NotAvailableException
- if this functionality isn't available in
this JVM. Linux versions of JRockit throws this exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |