Class: SyncPolicy

SyncPolicy()

new SyncPolicy()

Defines the synchronization policy to be used when committing a transaction. High levels of synchronization offer a greater guarantee that the transaction is persistent to disk, but the tradeoff is lower performance.
Properties:
Name Type Description
NO_SYNC Number Do not write or synchronously flush the log on transaction commit.
SYNC Number Write and synchronously flush the log on transaction commit.
WRITE_NO_SYNC Number Write but do not synchronously flush the log on transaction commit.
Source: