Class CpuAffinityJni

  • public final class CpuAffinityJni
    extends java.lang.Object
    JNI wrapper of native functions for CPU affinity.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static boolean isAvailable()  
      (package private) static boolean isRoot()  
      (package private) static void setAffinity​(int cpuId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isRoot

        static boolean isRoot()
      • isAvailable

        static boolean isAvailable()
      • setAffinity

        static void setAffinity​(int cpuId)