org.ourgrid.common.executor
Class HandleEntry

java.lang.Object
  extended by org.ourgrid.common.executor.HandleEntry

public class HandleEntry
extends java.lang.Object

This class holds an ExecutorHandle, the Process associated with it and the directory where the process was started.


Constructor Summary
HandleEntry(ExecutorHandle handle, java.lang.Process process, java.lang.String dirName)
          Creates a HandleEntry
 
Method Summary
 java.lang.String getDirName()
          Returns the dirName.
 ExecutorHandle getHandle()
          Returns the handle.
 java.lang.Process getProcess()
          Returns the process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandleEntry

public HandleEntry(ExecutorHandle handle,
                   java.lang.Process process,
                   java.lang.String dirName)
Creates a HandleEntry

Parameters:
handle - The handle used to identify a running process.
process - The process.
dirName - The directory where the process was started.
Method Detail

getDirName

public java.lang.String getDirName()
Returns the dirName.

Returns:
Returns the dirName.

getHandle

public ExecutorHandle getHandle()
Returns the handle.

Returns:
Returns the handle.

getProcess

public java.lang.Process getProcess()
Returns the process.

Returns:
Returns the process.