public class NodeRunner extends Object
| Constructor and Description |
|---|
NodeRunner() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
getPersistentData(Object key)
Get a persistent object given its key.
|
static String |
getUuid()
This node's universal identifier.
|
static boolean |
isShuttingDown()
Determine whether this node is currently shutting down.
|
static void |
main(String... args)
Run a node as a standalone application.
|
static Object |
removePersistentData(Object key)
Remove a persistent object.
|
static void |
setPersistentData(Object key,
Object value)
Set a persistent object with the specified key.
|
static void |
setShuttingDown(boolean shuttingDown)
Specify whether this node is currently shutting down.
|
public static void main(String... args)
args - not used.public static void setPersistentData(Object key, Object value)
key - the key associated with the object's value.value - the object to persist.public static Object getPersistentData(Object key)
key - the key used to retrieve the persistent object.public static Object removePersistentData(Object key)
key - the key associated with the object to remove.public static String getUuid()
public static boolean isShuttingDown()
true if the node is shutting down, false otherwise.public static void setShuttingDown(boolean shuttingDown)
shuttingDown - true if the node is shutting down, false otherwise.Copyright © 2005-2012 JPPF Team.