Google is committed to advancing racial equity for Black communities. See how.


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


Inherited Method Summary

Public Methods

public boolean isSuccess ()

  • Whether or not this result is a success