public interface Node extends Runnable
Modifier and Type | Method and Description |
---|---|
TypedProperties |
getConfiguration()
Get the configuration of this node.
|
int |
getExecutedTaskCount()
Get the total number of tasks executed.
|
JPPFManagementInfo |
getManagementInfo()
Get the management information for this node.
|
String |
getMasterNodeUuid()
Get the uuid of the node who this node is a slave of.
|
JPPFSystemInformation |
getSystemInformation()
Get the system information for this node.
|
String |
getUuid()
Get this node's UUID.
|
boolean |
isAndroid()
Determine whether this node is an Android node.
|
boolean |
isDotnetCapable()
Determine whether this node can execute .Net tasks.
|
boolean |
isLocal()
Determine whether this node is local to another component.
|
boolean |
isMasterNode()
Determine whether this node is a 'master' node for the provisioning features.
|
boolean |
isOffline()
Determine whether this node is running in offline mode.
|
boolean |
isSlaveNode()
Determine whether this node is a 'slave' node for the provisioning features.
|
ClassLoader |
resetTaskClassLoader(Object... params)
Reset the current task class loader if any is present (i.e.
|
JPPFSystemInformation getSystemInformation()
JPPFSystemInformation
instance.boolean isLocal()
true
if this node is local, false
otherwise.ClassLoader resetTaskClassLoader(Object... params)
params
- a (possibly empty) set of arbitrary parameters to propagate to the class loader.null
if none could be created at this time.
This class loader can be safely cast to an AbstractJPPFClassLoader
.boolean isOffline()
true
if this node is offline, false
otherwise.boolean isMasterNode()
true
if this node is a master, false
otherwise.boolean isSlaveNode()
true
if this node is a slave, false
otherwise.String getMasterNodeUuid()
null
if this node is not a slave.boolean isDotnetCapable()
true
if this node can execute .Net tasks, false
otherwise.boolean isAndroid()
true
if this node runs on Android, false
otherwise.TypedProperties getConfiguration()
TypedProperties
instance.JPPFManagementInfo getManagementInfo()
JPPFManagementInfo
object.int getExecutedTaskCount()
Copyright © 2005-2019 JPPF Team.