Udostępnij za pośrednictwem


SQLiteDatabase.SyncModeExtra Field

Definition

The EXTRA sync mode is like FULL sync mode with the addition that the directory containing a rollback journal is synced after that journal is unlinked to commit a transaction in DELETE journal mode.

[Android.Runtime.Register("SYNC_MODE_EXTRA", ApiSince=33)]
public const string SyncModeExtra;
[<Android.Runtime.Register("SYNC_MODE_EXTRA", ApiSince=33)>]
val mutable SyncModeExtra : string

Field Value

Attributes

Remarks

The EXTRA sync mode is like FULL sync mode with the addition that the directory containing a rollback journal is synced after that journal is unlinked to commit a transaction in DELETE journal mode.

EXTRA provides additional durability if the commit is followed closely by a power loss.

See here for more details.

Java documentation for android.database.sqlite.SQLiteDatabase.SYNC_MODE_EXTRA.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to