OpenAB
1.0.1
|
The OneWay Sync plugin is responsible to perform one-way synchronization of PIM items. More...
The OneWay Sync plugin is responsible to perform one-way synchronization of PIM items.
Data is synchronized between remote source and local storage. The full synchronization process consists of couple phases (defined by user), each phase consists of few steps:
Each phase can define PIMItem fields that should be ignored both during getting items from OpenAB_Source::Source and during comparison of them with contents of OpenAB_Storage::Storage.
Parameters:
Type | Name | Description | Mandatory |
---|---|---|---|
String | "remote_plugin" | name of OpenAB_Source::Source plugin to use | Yes |
Struct | remoteSourcePluginParams | parameters of OpenAB_Source::Source plugin to use | Yes |
String | "local_plugin" | name of OpenAB_Storage::Storage plugin to use | Yes |
Struct | localStoragePluginParams | parameters of OpenAB_Storage::Storage plugin | Yes |
Pointer | "callback" | pointer to OpenAB_Sync::Sync::SyncCallback | No |
Float | "sync_progress_frequency" | interval of OpenAB_Sync::Sync::SyncCallback::syncProgress() emission in seconds | No |
Integer | "batch_size" | size of batches to be used on Storage operations | No |
Input: define signal for sync statistics
Add possibility to sleep after processing each item to lower CPU consumption during sync