Synchronization state values
Several values are saved into the System Store and represent the current synchronization state. You can know about the values stored in the section provided here.
The Connector reads these values on startup and continues reporting changes from the right place.
Regardless of the mode in which the Connector is run two synchronization state values are stored in the User Property Store. These two values a stored in an Entry object as Attributes with the following names and meaning:
- SYNC_TIME – this Attribute is a java.util.Date object representing the "since" value for the next poll of the Connector, that is, the next Connector's poll will return only database modifications that occurred at or after this time. In the special case when Start Of Data is used as a start condition, the java.lang.String value "NULL_DATE" is stored.
- SYNC_CHECK_DOCS – this Attribute is a java.lang.Boolean object, which indicates whether the Connector must check for already processed documents in the Connector-specific System Store table (see below). This Attribute is only used when the Connector State Key Persistence parameter is set to After read. When the Connector State Key Persistence parameter is set to End of cycle the value of this Attribute is always false.
When the Connector is run, in addition to storing values in the User Property Store it creates (if not already created) a Connector-specific table in the System Store. The name of this table is the concatenation of "domch_" and the value of the Iterator State Key Connector parameter. This Connector-specific table stores values with the following characteristics:
- The keys are the UnIDs of already delivered changed documents as java.lang.String objects
- The values are java.util.Date object representing the datetime for the next poll as it was at the time this document was delivered by the Connector; if however the UnID corresponds to a deleted document, the java.lang.String constant "NULL_DATE" is stored instead.
The Connector-specific table is cleared each time the Connector successfully completes a synchronization session.
For each instance of the Domino® Change Detection Connector executed on the same IBM Security Directory Integrator Server there is a different Connector-specific table in the System Store.