Sets the library path for the library that will be invoked for the loader 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 ICacheLoader or the native C++ CacheLoader.
@endcacheserver
The previous cache loader will be replaced with a loader 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 SetCacheLoader( string libPath, string factoryFunctionName ) |
| Visual Basic (Declaration) |
|---|
Public Sub SetCacheLoader ( _ libPath As String, _ factoryFunctionName As String _ ) |
| Visual C++ |
|---|
public: void SetCacheLoader ( String^ libPath, String^ factoryFunctionName ) |
Parameters
- libPath
- String
library pathname containing the factory function.
- factoryFunctionName
- String
Name of factory function that creates a CacheLoader for a native library, or the name of the method in the form {Namespace}.{Class Name}.{Method Name} that creates an ICacheLoader for a managed library.
See Also
AttributesMutator Class
GemStone.GemFire.Cache Namespace