Sets the library path for the library that will be invoked for the writer of the region.
@cacheserver
If the region is being created from a client on a server, or on a server directly, then
this must be used to set the ICacheWriter or the native C++ CacheWriter.
@endcacheserver
The previous cache writer will be replaced with a writer created
using the factory function provided in the given library.
Namespace: GemStone.GemFire.Cache
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll)
Version: 2.5.0.1
Syntax
| C# |
|---|
public void SetCacheWriter( string libPath, string factoryFunctionName ) |
| Visual Basic (Declaration) |
|---|
Public Sub SetCacheWriter ( _ libPath As String, _ factoryFunctionName As String _ ) |
| Visual C++ |
|---|
public: void SetCacheWriter ( String^ libPath, String^ factoryFunctionName ) |
Parameters
- libPath
- String
library pathname containing the factory function.
- factoryFunctionName
- String
Name of factory function that creates a CacheWriter for a native library, or the name of the method in the form {Namespace}.{Class Name}.{Method Name} that creates an ICacheWriter for a managed library.
See Also
AttributesMutator Class
GemStone.GemFire.Cache Namespace