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