All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy