This project has retired. For details please refer to its Attic page.
MesosNativeLibrary
JavaScript is disabled on your browser.
Skip navigation links
org.apache.mesos

Class MesosNativeLibrary



  • public class MesosNativeLibrary
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes
      Modifier and Type Class and Description
      static class MesosNativeLibrary.Version
      Represent a 'libmesos' version with Major, Minor, and Patch versions.
    • Field Summary

      Fields
      Modifier and Type Field and Description
      static java.lang.String VERSION
    • Method Summary

      All Methods
      Modifier and Type Method and Description
      static void load ()
      static void load (java.lang.String path)
      Attempts to load the native library (if it was not previously loaded) from the given path.
      static MesosNativeLibrary.Version version ()
      Returns the version of the native loaded library, or throws a runtime exception if the library is not loaded.
      • Methods inherited from class java.lang.Object

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

      • MesosNativeLibrary

        public MesosNativeLibrary()
    • Method Detail

      • load

        public static void load(java.lang.String path)
        Attempts to load the native library (if it was not previously loaded) from the given path. If the path is null 'java.library.path' is used to load the library.
      • load

        public static void load()
      • version

        public static MesosNativeLibrary.Version version()
        Returns the version of the native loaded library, or throws a runtime exception if the library is not loaded. This was introduced in MESOS 0.22.1. Any version prior to that will be 0.0.0. This means you should not make version specific decision before the 0.22.1 version boundary. For example, if you found a bug that was fixed in 0.19.0, you will *not* be able to perform the following check correctly: if (version().before(new Version(0, 19, 0))) { ... } This predicate will return true for all versions up until 0.22.1.
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /