Tibrv.getVersion()

Method

Declaration

static String getVersion()
static String getCmVersion()
static String getFtVersion()
static int    getMajorVersion()
static int    getMinorVersion()
static int    getUpdateVersion()
static String getVersionString()     // This method is deprecated //

Purpose

Return the version string or one of its components.

Remarks

getVersion() returns the version number of the Java package (whether using machinery from Tibrv.IMPL_JAVA or Tibrv.IMPL_NATIVE).

getCmVersion() returns the version number of the underlying C implementation of the certified delivery library (Tibrv.IMPL_NATIVE only).

getFtVersion() returns the version number of the underlying C implementation of the fault tolerance library (Tibrv.IMPL_NATIVE only).

getMajorVersion(), getMinorVersion() and getUpdateVersion() return the three segments of the complete version number that getVersion() returns (it formats these three segments into a string).

The method getVersionString() is deprecated (though not yet obsolete), starting with release 6.2. We encourage programmers to migrate to getVersion() instead.