Sets a lock on the underlying data source at the level indicated by
datasource_lock. This should cause the
SyncProvider to adjust its behavior by increasing or
decreasing the level of optimism it provides for a successful
synchronization.
datasource_lock | one of the following constants indicating the severity
level of data source lock required:
SyncProvider.DATASOURCE_NO_LOCK,
SyncProvider.DATASOURCE_ROW_LOCK,
SyncProvider.DATASOURCE_TABLE_LOCK,
SyncProvider.DATASOURCE_DB_LOCK,
|
SyncProviderException | if an unsupported data source locking level is set. |
getDataSourceLock
Diagram: Reader, Writer