Package org.jppf.utils
Class VersionUtils
java.lang.Object
org.jppf.utils.VersionUtils
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.
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDescribes the available version information. -
Method Summary
Modifier and TypeMethodDescriptionstatic VersionUtils.VersionReturn the singleton object which provides the JPPF version information.static voidlogVersionInformation(String component, String uuid) Log the JPPF version information and process id.
-
Method Details
-
logVersionInformation
Log the JPPF version information and process id.- Parameters:
component- the JPPF component type: driver, node or client.uuid- the component uuid.
-
getVersion
Return the singleton object which provides the JPPF version information.- Returns:
- a
VersionUtils.Versioninstance.
-