ScalarisSingleOpExecutor, ScalarisTxOpExecutorpublic abstract class ScalarisOpExecutor
extends java.lang.Object
ScalarisOp operations in multiple phases only
sending requests to Scalaris once per work phase.| Constructor | Description |
|---|---|
ScalarisOpExecutor() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addOp(ScalarisOp op) |
Adds the given operation to be executed.
|
java.util.ArrayList<ScalarisOp> |
getOps() |
Gets the current list of operations.
|
int |
getWorkPhases() |
|
void |
reset() |
Re-sets the executor as if created from scratch.
|
void |
run() |
Executes all operations previously added with
addOp(ScalarisOp). |
public void addOp(ScalarisOp op)
op - the operation to addpublic void reset()
public void run()
throws com.ericsson.otp.erlang.OtpErlangException,
UnknownException
addOp(ScalarisOp).com.ericsson.otp.erlang.OtpErlangException - if an error occurred verifying a result from previous
operationsUnknownException - if an error occurred verifying a result from previous
operationspublic int getWorkPhases()
public java.util.ArrayList<ScalarisOp> getOps()