|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScalarisOp
Interface for arbitrary Scalaris operations.
Method Summary | |
---|---|
int |
doPhase(int phase,
int firstOp,
ResultList results,
RequestList requests)
Executes the given phase. |
String |
toString()
|
int |
workPhases()
Gets the number of work phases needed by this operation (not including the final result verification phase). |
Method Detail |
---|
int workPhases()
int doPhase(int phase, int firstOp, ResultList results, RequestList requests) throws OtpErlangException, UnknownException, IllegalArgumentException
phase
- the number of the current phasefirstOp
- the current operation's index in the result listresults
- the results from the previous operations
(may be null if there was none)requests
- the requests for the next operations
(may be null if there are none, i.e. in the
verification phase)
OtpErlangException
- if an error occured verifying a result from previous
operations
UnknownException
- if an error occured verifying a result from previous
operations
IllegalArgumentException
- if the given work phase is not supportedworkPhases()
String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |