Class DittoTransaction.Result.Commit<T>
java.lang.Object
com.ditto.java.DittoTransaction.Result<T>
com.ditto.java.DittoTransaction.Result.Commit<T>
- Type Parameters:
T- the type of value being returned.
- Enclosing class:
DittoTransaction.Result<T>
Represents a successful transaction that should be committed.
When returned from a transaction callback, this signals that all changes should be persisted to the database. The commit can optionally carry a return value.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ditto.java.DittoTransaction.Result
DittoTransaction.Result.Commit<T>, DittoTransaction.Result.Rollback<T> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.ditto.java.DittoTransaction.Result
getImplementation
-
Constructor Details
-
Commit
Creates a commit result with the specified value.- Parameters:
value- the value to return from the transaction.
-
-
Method Details
-
getValue
-