public static class
Transaction.Result
extends Object
Instances of this class represent the desired outcome of a single run of a Transaction.Handler
's
doTransaction method. The options are:
- Set the data to the new value (success)
- abort the transaction
Instances are created using success(MutableData)
or abort()
.
Public Method Summary
boolean |
Inherited Method Summary
Object |
clone()
|
boolean |
equals(Object arg0)
|
void |
finalize()
|
final Class<?> |
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
public boolean isSuccess ()
Returns
- Whether or not this result is a success