Alachisoft NCache 4.1 - Online Documentation

Using Bridge Conflict Resolver

 
NOTE: This feature is not available in NCache Express and Professional edition.
 
Namespace:
 
For enabling Bridge Conflict Resolver, your program needs a reference to the assembly Alachisoft.NCache.Runtime.dll that contains interface Alachisoft.NCache.Runtime.Bridge.IBridgeConflictResolver provided by NCache. The class implementing this interface allows framework to resolve the conflict between existing operations and operation replicated from bridge to cache. Thus, the class needs to include the logic for Conflict Resolution between bridge and cache.
 
Following namespace is required in your project for using IBridgeConflictResolver:
 
using Alachisoft.NCache.Runtime.Bridge;
 
IBridgeConflictResolver Interface:
 
In order to use IBridgeConflictResolver in your application, implement the following interface:
 
public void Init(System.Collections.IDictionary parameters);
public ConflictResolution Resolve(ProviderBridgeItem oldEntry, ProviderBridgeItem newEntry);
public void Dispose();
 
 
See Also
 
Copyright © 2005-2012 Alachisoft. All rights reserved.