Enabling Write-through Cache Provider

To enable Write-through caching, you need to implement WriteThruProvider and specify them in the cache properties. NCache Manager provides an interface for specifying them in the cache properties. For enabling write-through caching, follow the steps given below:

From the start programs, launch NCache Manager.

Open the project containing cache or cluster for which you want to configure the write-through caching.

From the explorer, select the cache or cluster. In the right pane, cluster/cache view will be opened.

For enabling Write-through caching, check the Enable Write-Through on this cache check box on the same tab.

Click Add button and browse the Assembly that contains the class implementing WriteThruProvider and then select class name from the list. The Assembly implementing WriteThruProvider must contain the reference of NCRuntime.jar.

For enabling the Write-Behind caching, mark the checkbox under Write-Behind column.

Deploy appropriate assemblies to the cache servers using the Deploy Provider button on a same tab view.

You can provide some additional parameters (like datasource file name) if required from the same screen.