Interface IBridgeConflictResolver
This interface is required to handle the conflicts in Bridge.
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public interface IBridgeConflictResolver
              Methods
Dispose()
Perform tasks associated with freeing, releasing, or resetting resources.
Declaration
void Dispose()
              Init(IDictionary)
Perform tasks like allocating resources or acquiring connections, etc.
Declaration
void Init(IDictionary parameters)
              Parameters
| Type | Name | Description | 
|---|---|---|
| System.Collections.IDictionary | parameters | Startup parameters defined in the configuration.  | 
                  
Resolve(ProviderBridgeItem, ProviderBridgeItem)
Perform tasks like the Conflict Resolution between the different cache and Bridge operations.
Declaration
ConflictResolution Resolve(ProviderBridgeItem oldEntry, ProviderBridgeItem newEntry)
              Parameters
| Type | Name | Description | 
|---|---|---|
| ProviderBridgeItem | oldEntry | Existing entry in the cache store.  | 
                  
| ProviderBridgeItem | newEntry | The new entry to be saved to cache.  | 
                  
Returns
| Type | Description | 
|---|---|
| ConflictResolution | Conflict resolution between the different cache and Bridge operations.  |