SyncTable

This class synchronizes the content of two data tables. It copies the content of one table to the other table and keeping it in synchronization.

It can work between two datastores, and is intended to synchronize stores between external DirectQuery tables and internal stores.

The synchronization is asynchronous.

note

AS6.0 doesn’t handle the synchronization well upon DirectQuery refresh, so in this case a manual refresh is needed.

API

Constructor

The synchronization starts when the constructor is created. The condition may be used to restrict the scope of the synchronized data.

waitCompletion

The waitCompletion method suspends the current thread until the tables are in sync.

fullRefresh

The fullRefresh method forces a full refresh.

close

The close method definitively suspends the synchronization.