Sets the library path for the library that will be invoked for the writer of the region. 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.7.0.0

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