Transaction.Result

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

Public Methods

public boolean isSuccess ()

Returns
  • Whether or not this result is a success