Deploy Providers (Read-Through/Write-Through/Write-Behind)
NCache allows you to deploy assemblies over the server for server-side features like Backing Source, Entry Processor, MapReduce, Cache Loader/Refresher, or Custom Dependency providers. Once the user deploys provider assemblies through the NCache Management Center or any Command Line Tools from the specified path, the assemblies are also copied to the newly created folder named after the cache name in the deploy folder of the NCache installation directory. Similarly, Java-based providers can also be deployed using both the NCache Management Center and the any Command Line Tools tool.
Using the NCache Management Center
Launch the NCache Management Center by browsing to http://localhost:8251 or
<server-ip>:8251
on Windows and Linux.In the left navigation bar, click on Clustered Caches or Local Caches, based on the cache required.
Check the box against the cache on which assemblies are to be deployed.
Click on "..." against the cache and select Deploy Providers.
NCache opens the File Explorer to let the user select the assemblies to be deployed.
The same assembly is now present in the newly created deploy folder in the NCache installation directory.
Using Command Line Tools
Install-NCacheModule cmdlet enables the user to deploy provider assemblies from the specified assembly path to the deployment folder named 'deploy' in the NCache installation directory. You can also deploy jars through this cmdlet and if you specify a folder path, it will copy all its content to the deploy folder.
This command deploys the assembly Provider.dll over a cache named demoCache.
Install-NCacheModule -CacheName demoCache -AssemblyPath "C:\Provider.dll"
See Also
Create a Cache
Remove Cache
Remove Server Node
Add Test Data