Class VersionUtils

java.lang.Object
org.jppf.utils.VersionUtils

public final class VersionUtils extends Object
This class provides a utility method to determine the JPPF build number available in the class path.
It is used for the nodes to determine when their code is outdated, in which case they will automatically reload their own code.
Author:
Laurent Cohen
  • Method Details

    • logVersionInformation

      public static void logVersionInformation(String component, String uuid)
      Log the JPPF version information and process id.
      Parameters:
      component - the JPPF component type: driver, node or client.
      uuid - the component uuid.
    • getVersion

      public static VersionUtils.Version getVersion()
      Return the singleton object which provides the JPPF version information.
      Returns:
      a VersionUtils.Version instance.