|
Enabling Write-through Cache Provider
Configuring Write-Through 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 these steps:
-
From the start programs, launch NCache Manager.
-
Open the project containing cache or cluster for which you want to configure write-through caching.
-
From the explorer, select the cache or cluster. In the right pane, cluster/cache view will be opened.
-
-
You can provide some additional parameters (like datasource file name) if required from the same screen.
-
For enabling Write-through caching, check the Enable Write-Through on this cache check box.
-
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.
-
Deploy the appropriate assemblies to the cache servers using the Deploy Provider button on a same tab view.
-
For enabling the Write-Behind caching, check the checkbox under Write-Behind column.
Deployment:
Note: Restart your NCache Service after deploying the WriteThru provider.
See Also
|
|