ScalarisOpScalarisListAppendRemoveOp1public abstract class ScalarisChangeListOp1 extends java.lang.Object implements ScalarisOp
| Constructor | Description |
|---|---|
ScalarisChangeListOp1(java.lang.String key,
java.lang.String countKey) |
Creates a new list change operation.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
doPhase(int phase,
int firstOp,
ResultList results,
RequestList requests) |
Executes the given phase.
|
int |
workPhases() |
Gets the number of work phases needed by this operation (not including
the final result verification phase).
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoStringpublic ScalarisChangeListOp1(java.lang.String key,
java.lang.String countKey)
key - the key to change the list atcountKey - the key for the counter of the entries in the list
(may be null)public int workPhases()
ScalarisOpworkPhases in interface ScalarisOppublic final int doPhase(int phase,
int firstOp,
ResultList results,
RequestList requests)
throws com.ericsson.otp.erlang.OtpErlangException,
UnknownException,
java.lang.IllegalArgumentException
ScalarisOpdoPhase in interface ScalarisOpphase - 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)com.ericsson.otp.erlang.OtpErlangException - if an error occured verifying a result from previous
operationsUnknownException - if an error occured verifying a result from previous
operationsjava.lang.IllegalArgumentException - if the given work phase is not supportedScalarisOp.workPhases()