Crreating a new interface for deduping and using it in O365. The new interface has a localDeduper built-in that will be used by default, but since it's an interface we will be able to plug in more thorough global deduping mechanisms in the cloud.
The interface takes a single string key to dedupe, it does NOT need to include some kind of partition (like an OID) since it is received per Adapter instance which is already single-tenant.
It uses a CheckAndAdd function so that the check-and-add-if-not-duplicate can be done atomically without further synchronization.
Type of change
[ ] Bug fix (non-breaking change that fixes an issue)
[x] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Description of the change
Crreating a new interface for deduping and using it in O365. The new interface has a localDeduper built-in that will be used by default, but since it's an interface we will be able to plug in more thorough global deduping mechanisms in the cloud.
The interface takes a single string key to dedupe, it does NOT need to include some kind of partition (like an OID) since it is received per Adapter instance which is already single-tenant.
It uses a CheckAndAdd function so that the check-and-add-if-not-duplicate can be done atomically without further synchronization.
Type of change