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.