org.apache.bookkeeper.utils.affinity.NarSystem Maven / Gradle / Ivy
The newest version!
// DO NOT EDIT: Generated by NarSystemGenerate.
package org.apache.bookkeeper.utils.affinity;
/**
* Generated class to load the correct version of the jni library
*
* @author nar-maven-plugin
*/
public final class NarSystem
{
private NarSystem()
{
}
/**
* Load jni library: cpu-affinity
*
* @author nar-maven-plugin
*/
public static void loadLibrary()
{
System.loadLibrary("cpu-affinity");
}
public static int runUnitTests() {
return new NarSystem().runUnitTestsNative();
}
public native int runUnitTestsNative();
}