Package one.nio.os
Class NativeLibrary
- java.lang.Object
-
- one.nio.os.NativeLibrary
-
- All Implemented Interfaces:
NativeLibraryMXBean
public final class NativeLibrary extends Object implements NativeLibraryMXBean
-
-
Field Summary
Fields Modifier and Type Field Description static booleanIS_SUPPORTED
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long[]getAffinity(int pid)StringgetLibraryPath()intmlockall(int flags)intmunlockall()intsetAffinity(int pid, long[] mask)
-
-
-
Method Detail
-
getLibraryPath
public String getLibraryPath()
- Specified by:
getLibraryPathin interfaceNativeLibraryMXBean
-
mlockall
public int mlockall(int flags)
- Specified by:
mlockallin interfaceNativeLibraryMXBean
-
munlockall
public int munlockall()
- Specified by:
munlockallin interfaceNativeLibraryMXBean
-
setAffinity
public int setAffinity(int pid, long[] mask)- Specified by:
setAffinityin interfaceNativeLibraryMXBean
-
getAffinity
public long[] getAffinity(int pid)
- Specified by:
getAffinityin interfaceNativeLibraryMXBean
-
-