|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Master
Remote interface for calling back to the master.
Method Summary | |
---|---|
void |
abortRun()
Notifies the master to terminate the run immediately. |
long |
currentTimeMillis()
Obtain the master's time for time adjustment. |
MasterState |
getCurrentState()
Obtains the current state of the master. |
void |
updateMetrics(RuntimeMetrics m)
Updates the master with the latest runtime metrics so the master can dump out the stats accordingly. |
void |
waitForState(MasterState state)
Wait for a certain state on the master. |
Method Detail |
---|
long currentTimeMillis() throws RemoteException
RemoteException
- A network error occurredvoid abortRun() throws RemoteException
RemoteException
- A network error occurred.void updateMetrics(RuntimeMetrics m) throws RemoteException
m
- The runtime metrics to update
RemoteException
- A network error occurred.MasterState getCurrentState() throws RemoteException
RemoteException
void waitForState(MasterState state) throws RemoteException
state
-
RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |