|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.core.process.AbstractSequentialListProcessDecorator
org.objectweb.proactive.core.process.DependentListProcessDecorator
This class contains a list of processes that have a dependency with its predecessor.
Field Summary |
Fields inherited from class org.objectweb.proactive.core.process.AbstractSequentialListProcessDecorator |
currentRank, processes |
Fields inherited from interface org.objectweb.proactive.core.process.ExternalProcessDecorator |
APPEND_TO_COMMAND_COMPOSITION, COPY_FILE_AND_APPEND_COMMAND, GIVE_COMMAND_AS_PARAMETER, SEND_TO_OUTPUT_STREAM_COMPOSITION |
Fields inherited from interface org.objectweb.proactive.core.process.UniversalProcess |
logger, UNKNOWN_NODE_NUMBER |
Constructor Summary | |
DependentListProcessDecorator()
|
Method Summary | |
void |
addProcessToList(ExternalProcess process)
Add a process to the processes queue - first process is not a dependent process unlike the others |
protected ExternalProcess |
createProcess()
|
java.lang.String |
getHostname()
Return the hostname target of this process. |
java.lang.String |
getProcessId()
Returns the id of the process |
boolean |
isDependent()
Returns true if and only if this process is dependent |
boolean |
isHierarchical()
Returns true if and only if this process is hierarchical |
boolean |
isSequential()
Returns true if and only if this process is sequential |
void |
setHostname(java.lang.String hostname)
Set the hostname target of this process. |
void |
startProcess()
Starts the process by executing the command. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DependentListProcessDecorator()
Method Detail |
public void addProcessToList(ExternalProcess process)
addProcessToList
in class AbstractSequentialListProcessDecorator
process
- public java.lang.String getProcessId()
UniversalProcess
getProcessId
in interface UniversalProcess
getProcessId
in class AbstractSequentialListProcessDecorator
UniversalProcess.getProcessId()
public boolean isSequential()
UniversalProcess
isSequential
in interface UniversalProcess
isSequential
in class AbstractSequentialListProcessDecorator
public boolean isDependent()
UniversalProcess
public boolean isHierarchical()
UniversalProcess
public java.lang.String getHostname()
UniversalProcess
public void setHostname(java.lang.String hostname)
UniversalProcess
hostname
- the target hostname.protected ExternalProcess createProcess()
createProcess
in class AbstractSequentialListProcessDecorator
public void startProcess() throws java.io.IOException
UniversalProcess
java.io.IOException
- if the process cannot be started.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |