|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jppf.utils.VersionUtils
public final class 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.
| Method Summary | |
|---|---|
static int |
getBuildNumber()
Determine the current JPPF build number. |
static String |
getLocalIpAddress()
Get the IP address of the current host. |
static void |
setBuildNumber(int buildNumber)
Set the current JPPF build number. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static int getBuildNumber()
public static void setBuildNumber(int buildNumber)
buildNumber - the build number to set.public static String getLocalIpAddress()
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||