org.objectweb.proactive.core.process.globus
Class GlobusProcess
java.lang.Object
org.objectweb.proactive.core.process.AbstractUniversalProcess
org.objectweb.proactive.core.process.AbstractExternalProcess
org.objectweb.proactive.core.process.AbstractExternalProcessDecorator
org.objectweb.proactive.core.process.globus.GlobusProcess
- All Implemented Interfaces:
- ExternalProcess, ExternalProcessDecorator, java.io.Serializable, UniversalProcess
- public class GlobusProcess
- extends AbstractExternalProcessDecorator
Globus Process implementation.
This implementation works only for ProActive deployment, and not to submit single commands
- Since:
- ProActive 3.0
- Version:
- 2.0, 2005/09/20
- Author:
- ProActive Team
- See Also:
- Serialized Form
Fields inherited from class org.objectweb.proactive.core.process.AbstractUniversalProcess |
certificateLocation, command, command_path, DEFAULT_HOSTNAME, DEFAULT_USERNAME, environment, hostname, isFinished, isStarted, LOCALHOST, privateKeyLocation, securityFile, username |
Methods inherited from class org.objectweb.proactive.core.process.AbstractExternalProcess |
buildUnixEnvironmentCommand, buildWindowsEnvironmentCommand, closeStream, getErrorMessageLogger, getFileTransferDefaultCopyProtocol, getFileTransferWorkShopDeploy, getFileTransferWorkShopRetrieve, getInputMessageLogger, getOutputMessageSink, handleError, handleInput, handleProcess, internalFileTransferDefaultProtocol, internalStartFileTransfer, internalStopProcess, internalWaitFor, setErrorMessageLogger, setInputMessageLogger, setOutputMessageSink |
Methods inherited from class org.objectweb.proactive.core.process.AbstractUniversalProcess |
checkStarted, getCommand, getCommandPath, getEnvironment, getHostname, getUsername, isFinished, isHierarchical, isStarted, pushProcessAttributes, setCommandPath, setEnvironment, setHostname, setUsername, startFileTransfer, startProcess, stopProcess, toString, waitFor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.objectweb.proactive.core.process.UniversalProcess |
getCommand, getCommandPath, getEnvironment, getHostname, getUsername, isFinished, isHierarchical, isStarted, setCommandPath, setEnvironment, setHostname, setUsername, startFileTransfer, startProcess, stopProcess, waitFor |
jvmProcess
protected JVMProcessImpl jvmProcess
count
protected java.lang.String count
stderr
protected java.lang.String stderr
stdout
protected java.lang.String stdout
queue
protected java.lang.String queue
maxTime
protected java.lang.String maxTime
GlobusProcess
public GlobusProcess()
- Creates a new instance of GlobusProcess
GlobusProcess
public GlobusProcess(JVMProcess process)
- Creates a new instance of GlobusProcess. The process given as parameter represents the target process
internalBuildCommand
protected java.lang.String internalBuildCommand()
- Specified by:
internalBuildCommand
in class AbstractExternalProcessDecorator
main
public static void main(java.lang.String[] args)
internalStartProcess
protected void internalStartProcess(java.lang.String rslCommand)
throws java.io.IOException
- Overrides:
internalStartProcess
in class AbstractExternalProcessDecorator
- Throws:
java.io.IOException
buildEnvironmentCommand
protected java.lang.String buildEnvironmentCommand()
- Overrides:
buildEnvironmentCommand
in class AbstractExternalProcess
getCount
public java.lang.String getCount()
- Returns the count.
- Returns:
- String
setCount
public void setCount(java.lang.String count)
- Sets the count.
- Parameters:
count
- The count to set
getProcessId
public java.lang.String getProcessId()
- Description copied from interface:
UniversalProcess
- Returns the id of the process
- Returns:
- the id of the process. This id is just the first letters of the process
class, to be able to identify the sequence of processes used
- See Also:
UniversalProcess.getProcessId()
getNodeNumber
public int getNodeNumber()
- Description copied from interface:
UniversalProcess
- Returns the number of nodes targeted
- Returns:
- the number of nodes targeted. Represents the number of nodes expected to use
when starting this process. If this number cannot be known, waiting for all available nodes
for example, UNKNOWN_NODE_NUMBER is returned.
- See Also:
UniversalProcess.getNodeNumber()
getFinalProcess
public UniversalProcess getFinalProcess()
- Description copied from interface:
UniversalProcess
- Returns the last process of the chain
- Returns:
- the last process of the chain
- See Also:
UniversalProcess.getFinalProcess()
getStderr
public java.lang.String getStderr()
- Returns:
- Returns the stderr.
setStderr
public void setStderr(java.lang.String stderr)
- Parameters:
stderr
- The stderr to set.
getStdout
public java.lang.String getStdout()
- Returns:
- Returns the stdout.
setStdout
public void setStdout(java.lang.String stdout)
- Parameters:
stdout
- The stdout to set.
getQueue
public java.lang.String getQueue()
- Returns:
- Returns the queue.
setQueue
public void setQueue(java.lang.String queue)
- Parameters:
queue
- The queue to set.
getMaxTime
public java.lang.String getMaxTime()
setMaxTime
public void setMaxTime(java.lang.String maxTime)
Copyright 2001-2005 INRIA All Rights Reserved.