public abstract class AbstractCommonNode extends AbstractNode
AbstractNode.| Modifier and Type | Field and Description |
|---|---|
protected AtomicBoolean |
cacheResetFlag
Flag which determines whether a reset of the resource caches
should be performed at the next opportunity.
|
protected AbstractClassLoaderManager |
classLoaderManager
Manages the class loaders and how they are used.
|
helper, nodeConnection, serializer, systemInformation, uuidstopped| Constructor and Description |
|---|
AbstractCommonNode() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearResourceCachesIfRequested()
Clear the resource caches of all class loaders managed by this object.
|
AbstractJPPFClassLoader |
getClassLoader()
Get the main classloader for the node.
|
JPPFContainer |
getContainer(List<String> uuidPath)
Get a reference to the JPPF container associated with an application uuid.
|
void |
requestResourceCacheReset()
Request a reset of the class loaders resource caches.
|
void |
setClassLoader(JPPFClassLoader cl)
Set the main classloader for the node.
|
protected void |
setupManagementParameters(JPPFTaskBundle bundle)
Add management parameters to the specified bundle, before sending it back to a server.
|
getHelper, getNodeConnection, getSystemInformation, getTaskCount, getUuid, resetTaskClassLoader, setTaskCount, updateSystemInformationgoToSleep, goToSleep, goToSleep, isStopped, setStopped, wakeUpprotected AbstractClassLoaderManager classLoaderManager
protected AtomicBoolean cacheResetFlag
protected void setupManagementParameters(JPPFTaskBundle bundle)
bundle - the bundle to add parameters to.public AbstractJPPFClassLoader getClassLoader()
ClassLoader used for loading the classes of the framework.public void setClassLoader(JPPFClassLoader cl)
cl - the class loader to set.public JPPFContainer getContainer(List<String> uuidPath) throws Exception
uuidPath - the uuid path containing the key to the container.JPPFContainer instance.Exception - if an error occurs while getting the container.protected void clearResourceCachesIfRequested()
public void requestResourceCacheReset()
Copyright © 2005-2012 JPPF Team.