Transaction.Result

public class Transaction.Result


Instances of this class represent the desired outcome of a single run of a Handler's doTransaction method. The options are:

  • Set the data to the new value (success)
  • abort the transaction
Instances are created using success or abort.

Summary

Public methods

boolean

Public methods

isSuccess

public boolean isSuccess()
Returns
boolean

Whether or not this result is a success