Uses of Interface
org.ourgrid.common.executor.ExecutorHandle

Packages that use ExecutorHandle
org.ourgrid.common.executor   
org.ourgrid.common.gum   
org.ourgrid.gridmachine.useragent   
org.ourgrid.gridmachine.useragent.test   
org.ourgrid.mygrid.scheduler.test   
org.ourgrid.peer.ebgum   
org.ourgrid.peer.manager.gummanager.events   
 

Uses of ExecutorHandle in org.ourgrid.common.executor
 

Classes in org.ourgrid.common.executor that implement ExecutorHandle
 class IntegerExecutorHandle
          This class implements the interface ExecutorHandle and is used to identify executions dispatched to intances of a native Executor class.
 

Methods in org.ourgrid.common.executor that return ExecutorHandle
 ExecutorHandle Win32Executor.execute(java.lang.String dirName, java.lang.String command)
          Execute a command like a OS native script.
 ExecutorHandle SWANExecutor.execute(java.lang.String dirName, java.lang.String command)
          This method implements the command execution feature for SWAN environment.
 ExecutorHandle LinuxExecutor.execute(java.lang.String dirName, java.lang.String command)
          This method implements the command execution feature for Linux environment.
 ExecutorHandle Executor.execute(java.lang.String dirName, java.lang.String command)
          Execute a local command in a specific dirName.
 ExecutorHandle Win32Executor.execute(java.lang.String dirName, java.lang.String command, java.util.Map envVars)
           
 ExecutorHandle SWANExecutor.execute(java.lang.String dirName, java.lang.String command, java.util.Map envVars)
          This method implements the command execution feature for SWAN environment.
 ExecutorHandle LinuxExecutor.execute(java.lang.String dirName, java.lang.String command, java.util.Map envVars)
          This method implements the command execution feature for Linux environment.
 ExecutorHandle Executor.execute(java.lang.String dirName, java.lang.String command, java.util.Map envVars)
          Execute a local command in a specific dirName, with the environment defined by envVars
 ExecutorHandle HandleEntry.getHandle()
          Returns the handle.
protected  ExecutorHandle Win32Executor.getNextHandle()
          This method manage the handles issued for each command execution
protected  ExecutorHandle LinuxExecutor.getNextHandle()
          This method manage the handles issued for each command execution
 

Methods in org.ourgrid.common.executor with parameters of type ExecutorHandle
protected  java.io.File LinuxExecutor.createScript(java.lang.String command, java.lang.String dirName, java.util.Map envVars, ExecutorHandle handle)
          Creates a script file to execute the command passed as paramether.
 ExecutorResult Win32Executor.getResult(ExecutorHandle handle)
           
 ExecutorResult SWANExecutor.getResult(ExecutorHandle handle)
          Returns the result of a execution especified by a handle.
 ExecutorResult LinuxExecutor.getResult(ExecutorHandle handle)
           
 ExecutorResult Executor.getResult(ExecutorHandle handle)
          Blocks until the command finishes and returns its result
protected  void Win32Executor.includeInProcesses(ExecutorHandle handle, java.lang.Process process)
          Adds a process into the set of the ones which results were not collected yet.
protected  void LinuxExecutor.includeInProcesses(ExecutorHandle handle, java.lang.Process process, java.lang.String dirName)
          Adds a process into the set of the ones which results were not collected yet.
 void Win32Executor.kill(ExecutorHandle handle)
           
 void SWANExecutor.kill(ExecutorHandle handle)
          Kills command that was issued via an execute method
 void LinuxExecutor.kill(ExecutorHandle handle)
           
 void Executor.kill(ExecutorHandle handle)
          Kills command that was issued via an execute method
 

Constructors in org.ourgrid.common.executor with parameters of type ExecutorHandle
HandleEntry(ExecutorHandle handle, java.lang.Process process, java.lang.String dirName)
          Creates a HandleEntry
 

Uses of ExecutorHandle in org.ourgrid.common.gum
 

Methods in org.ourgrid.common.gum that return ExecutorHandle
 ExecutorHandle FakeGumClient.remoteExecute(java.lang.String remoteDir, java.lang.String command, java.util.Map envVars)
          Executes a remote command in a specific remoteDir
 ExecutorHandle GumClient.remoteExecute(java.lang.String remoteDir, java.lang.String command, java.util.Map<java.lang.String,java.lang.String> environmentVars)
           
 ExecutorHandle Gum.remoteExecute(java.lang.String remoteDir, java.lang.String command, java.util.Map<java.lang.String,java.lang.String> environmentVars)
          Executes a remote task command in a specific directory on the grid machine.
 

Methods in org.ourgrid.common.gum with parameters of type ExecutorHandle
 ExecutorResult GumClient.getResult(ExecutorHandle handle)
           
 ExecutorResult Gum.getResult(ExecutorHandle handle)
          Gives access to the result of execution.
 ExecutorResult FakeGumClient.getResult(ExecutorHandle handle)
           
 

Uses of ExecutorHandle in org.ourgrid.gridmachine.useragent
 

Fields in org.ourgrid.gridmachine.useragent with type parameters of type ExecutorHandle
protected  java.util.Map<ExecutorHandle,ExecutorHandle> UserAgentClient.executorHandles
          Map containing all the executor handles of the remote executions on this UserAgent.
protected  java.util.Map<ExecutorHandle,ExecutorHandle> UserAgentClient.executorHandles
          Map containing all the executor handles of the remote executions on this UserAgent.
 

Methods in org.ourgrid.gridmachine.useragent that return ExecutorHandle
 ExecutorHandle UserAgentServerImpl.remoteExecute(java.lang.String remoteDir, java.lang.String command, java.util.Map<java.lang.String,java.lang.String> envVars)
           
 ExecutorHandle UserAgentClient.remoteExecute(java.lang.String remoteDir, java.lang.String command, java.util.Map<java.lang.String,java.lang.String> environmentVars)
           
 

Methods in org.ourgrid.gridmachine.useragent with parameters of type ExecutorHandle
 ExecutorResult UserAgentServerImpl.getResult(ExecutorHandle handle)
           
 ExecutorResult UserAgentClient.getResult(ExecutorHandle handle)
           
protected  void UserAgentServerImpl.kill(ExecutorHandle handle)
           
 

Uses of ExecutorHandle in org.ourgrid.gridmachine.useragent.test
 

Methods in org.ourgrid.gridmachine.useragent.test that return ExecutorHandle
 ExecutorHandle FakeUserAgentServer.remoteExecute()
           
 ExecutorHandle FakeUserAgentServer.remoteExecute(java.lang.String remoteDir, java.lang.String command, java.util.Map envVars)
           
 

Methods in org.ourgrid.gridmachine.useragent.test with parameters of type ExecutorHandle
 ExecutorResult FakeUserAgentServer.getResult(ExecutorHandle handle)
           
 

Uses of ExecutorHandle in org.ourgrid.mygrid.scheduler.test
 

Methods in org.ourgrid.mygrid.scheduler.test with parameters of type ExecutorHandle
 ExecutorResult SleeperFakeUserAgentClient.getResult(ExecutorHandle handle)
           
 

Uses of ExecutorHandle in org.ourgrid.peer.ebgum
 

Methods in org.ourgrid.peer.ebgum that return ExecutorHandle
 ExecutorHandle GumProxy.remoteExecute(java.lang.String remoteDir, java.lang.String command, java.util.Map<java.lang.String,java.lang.String> envVars)
           
 

Methods in org.ourgrid.peer.ebgum with parameters of type ExecutorHandle
 void FakeEBGum.getResult(EventQueue<ResponseEvent> responseQueue, ExecutorHandle handle)
           
 void EBGumImpl.getResult(EventQueue<ResponseEvent> responseQueue, ExecutorHandle handle)
           
 void EBGumFacade.getResult(EventQueue<ResponseEvent> responseQueue, ExecutorHandle handle)
           
 void EBGum.getResult(EventQueue<ResponseEvent> responseQueue, ExecutorHandle handle)
           
 ExecutorResult GumProxy.getResult(ExecutorHandle handle)
           
 void FakeGumFacade.kill(EventQueue responseQueue, ExecutorHandle taskHandle)
           
 

Uses of ExecutorHandle in org.ourgrid.peer.manager.gummanager.events
 

Constructors in org.ourgrid.peer.manager.gummanager.events with parameters of type ExecutorHandle
GumGetResultEvent(EBGum gum, EventQueue responseQueue, ExecutorHandle handle)
           
GumGetResultResponseEvent(Gum gum, ExecutorHandle handle)
           
GumRemoteExecuteResponseEvent(ExecutorHandle executorHandle)
          The default constructor for this event.