|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface RemoteJist.JobQueueServerRemote
Remote job queue server interface.
Method Summary | |
---|---|
void |
addJob(RemoteJist.Job job,
boolean front)
Add job to queue. |
RemoteJist.Job |
getJob(long maxMem)
Return next job from queue, or null if queue is empty. |
RemoteIO.RemoteOutputStreamRemote |
getStdOut()
Return RMI handle to queue standard output stream. |
void |
waitForJob(long maxMem)
Wait for job. |
Method Detail |
---|
void addJob(RemoteJist.Job job, boolean front) throws java.rmi.RemoteException
job
- job to enqueuefront
- whether job should be added to the front of the queue
java.rmi.RemoteException
- rpc failurevoid waitForJob(long maxMem) throws java.rmi.RemoteException
maxMem
- maximum available server memory
java.rmi.RemoteException
- rpc failureRemoteJist.Job getJob(long maxMem) throws java.rmi.RemoteException
maxMem
- maximum available server memory
java.rmi.RemoteException
- rpc failureRemoteIO.RemoteOutputStreamRemote getStdOut() throws java.rmi.RemoteException
java.rmi.RemoteException
- rpc failure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |