Docs Menu

Interface Realm.Transaction

On this page

  • io.realm
  • Nested Class Summary
  • Method Summary
  • Method Detail
  • execute

Enclosing class:

Realm

Encapsulates a Realm transaction.Using this class will automatically handle beginTransaction() and commitTransaction() If any exception is thrown during the transaction cancelTransaction() will be called instead of commitTransaction().

Modifier and Type
Class and Description
public static
public static interface
public static interface
Modifier and Type
Method and Description
public void
Realm realm
)
public void execute (
Realm realm
)
←  Class Realm.CallbackClass Realm.Transaction.Callback →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.