public class FakeDownNodeForRecovery extends Object implements org.objectweb.proactive.core.node.Node, Serializable
Node
interface for the special
case in which the resource manager recovery mechanism has to handle down
nodes. Indeed, as down nodes are not reachable, it is impossible to retrieve
more information than what has been saved in database for these nodes,
specifically its name and URL. Note that we do not want to store Node
information in database neither because most of it is not Serializable
Nevertheless, even down nodes need to be recovered as fully instantiated
Node
because they are handled as this in lifecycle policies, in which
mostly the node's URL is used to ensure proper handling.Constructor and Description |
---|
FakeDownNodeForRecovery(String name,
String url,
String hostname) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Object[] |
getActiveObjects() |
Object[] |
getActiveObjects(String s) |
org.objectweb.proactive.core.node.NodeInformation |
getNodeInformation() |
int |
getNumberOfActiveObjects() |
org.objectweb.proactive.core.runtime.ProActiveRuntime |
getProActiveRuntime() |
String |
getProperty(String s) |
String |
getThreadDump() |
org.objectweb.proactive.core.runtime.VMInformation |
getVMInformation() |
int |
hashCode() |
void |
killAllActiveObjects() |
Object |
setProperty(String s,
String s1) |
String |
toString() |
public org.objectweb.proactive.core.node.NodeInformation getNodeInformation()
getNodeInformation
in interface org.objectweb.proactive.core.node.Node
public org.objectweb.proactive.core.runtime.VMInformation getVMInformation()
getVMInformation
in interface org.objectweb.proactive.core.node.Node
public org.objectweb.proactive.core.runtime.ProActiveRuntime getProActiveRuntime()
getProActiveRuntime
in interface org.objectweb.proactive.core.node.Node
public Object[] getActiveObjects() throws org.objectweb.proactive.core.node.NodeException, org.objectweb.proactive.ActiveObjectCreationException
getActiveObjects
in interface org.objectweb.proactive.core.node.Node
org.objectweb.proactive.core.node.NodeException
org.objectweb.proactive.ActiveObjectCreationException
public Object[] getActiveObjects(String s) throws org.objectweb.proactive.core.node.NodeException, org.objectweb.proactive.ActiveObjectCreationException
getActiveObjects
in interface org.objectweb.proactive.core.node.Node
org.objectweb.proactive.core.node.NodeException
org.objectweb.proactive.ActiveObjectCreationException
public int getNumberOfActiveObjects() throws org.objectweb.proactive.core.node.NodeException
getNumberOfActiveObjects
in interface org.objectweb.proactive.core.node.Node
org.objectweb.proactive.core.node.NodeException
public void killAllActiveObjects() throws org.objectweb.proactive.core.node.NodeException, IOException
killAllActiveObjects
in interface org.objectweb.proactive.core.node.Node
org.objectweb.proactive.core.node.NodeException
IOException
public Object setProperty(String s, String s1) throws org.objectweb.proactive.core.ProActiveException
setProperty
in interface org.objectweb.proactive.core.node.Node
org.objectweb.proactive.core.ProActiveException
public String getProperty(String s) throws org.objectweb.proactive.core.ProActiveException
getProperty
in interface org.objectweb.proactive.core.node.Node
org.objectweb.proactive.core.ProActiveException
public String getThreadDump() throws org.objectweb.proactive.core.ProActiveException
getThreadDump
in interface org.objectweb.proactive.core.node.Node
org.objectweb.proactive.core.ProActiveException