public static interface Realm.Transaction
Using this class will automatically handle Realm.beginTransaction() and Realm.commitTransaction()
If any exception is thrown during the transaction Realm.cancelTransaction() will be called
instead of Realm.commitTransaction().
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Realm realm) |
void execute(Realm realm)