com.sun.grid.server
Class ComputeEngineImpl_Stub

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteStub
              |
              +--com.sun.grid.server.ComputeEngineImpl_Stub
All Implemented Interfaces:
ComputeEngine, java.rmi.Remote, java.io.Serializable

public final synchronized class ComputeEngineImpl_Stub
extends java.rmi.server.RemoteStub
implements ComputeEngine, java.rmi.Remote

See Also:
Serialized Form

Field Summary
private static java.lang.reflect.Method $method_checkpoint_0
           
private static java.lang.reflect.Method $method_compute_1
           
private static java.lang.reflect.Method $method_halt_2
           
private static java.lang.reflect.Method $method_haltAll_3
           
private static long serialVersionUID
           
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
ComputeEngineImpl_Stub(java.rmi.server.RemoteRef)
           
 
Method Summary
(package private) static void ()
           
 void checkpoint(java.lang.String)
          This method is causes the executing job to be written to disk.
 void compute(Job)
          This method causes the execution of the Job.
 void halt(java.lang.String)
          This method stops a job from executing.
 void haltAll()
          This method stops all executing jobs on the ComputeEngine.
 
Methods inherited from class java.rmi.server.RemoteStub
setRef
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

$method_checkpoint_0

private static java.lang.reflect.Method $method_checkpoint_0

$method_compute_1

private static java.lang.reflect.Method $method_compute_1

$method_halt_2

private static java.lang.reflect.Method $method_halt_2

$method_haltAll_3

private static java.lang.reflect.Method $method_haltAll_3
Constructor Detail

ComputeEngineImpl_Stub

public ComputeEngineImpl_Stub(java.rmi.server.RemoteRef)
Method Detail

static void ()

checkpoint

public void checkpoint(java.lang.String)
                throws java.rmi.RemoteException
Description copied from interface: ComputeEngine
This method is causes the executing job to be written to disk.

Specified by:
checkpoint in interface ComputeEngine
Parameters:
- the id of the job to checkpoint
Throws:
java.rmi.RemoteException - if an error occurs on the server side

compute

public void compute(Job)
             throws java.rmi.RemoteException
Description copied from interface: ComputeEngine
This method causes the execution of the Job. Any non-RMI exceptions will be returned to the ComputeProxy via the ResultChannel.sendException method rather than being thrown.

Specified by:
compute in interface ComputeEngine
Parameters:
- the job to execute
Throws:
java.rmi.RemoteException - if an error occurs on the server side
See Also:
ResultChannel#sendException

halt

public void halt(java.lang.String)
          throws java.rmi.RemoteException
Description copied from interface: ComputeEngine
This method stops a job from executing. The Job should be checkpointed before being stopped.

Specified by:
halt in interface ComputeEngine
Parameters:
- the id of the job to halt
Throws:
java.rmi.RemoteException - if an error occurs on the server side

haltAll

public void haltAll()
             throws java.rmi.RemoteException
Description copied from interface: ComputeEngine
This method stops all executing jobs on the ComputeEngine. Each Job should be checkpointed before being stopped.

Specified by:
haltAll in interface ComputeEngine
Throws:
java.rmi.RemoteException - if an error occurs on the server side