GemStone® GemFire® Native Client
C++ and C# Examples


For Linux and Solaris Installations:

The C# examples are not provided if the native client is installed on Linux or Solaris,
so those example links will not resolve.


C++ Examples

cacheRunner: Shows how to modify and view cache contents, perform queries on cached data, maintain highly available client queues after server failover, and authenticate client credentials.

userobjects: Demonstrates the native client C++ API for distributing and retrieving custom-defined user types.

cqQuery: Demonstrates the native client C++ API for continuous query.


C# Examples

ProductBrowser: Presents heterogeneous client access by using both a .NET client and a Java client to interact with a Java cache server and exchange data between the clients.

CacheRunner: Shows how to modify and view cache contents, perform queries on cached data, and maintain highly available client queues after server failover.

HierarchicalClient: Demonstrates a native client and a cache server in a tiered hierarchical caching situation. The native client establishes its endpoints and connects to the server's port, sending data requests through its cache loader and updates through its cache writer.

NOTE: The HierarchicalClient example requires the GemFire Enterprise QuickStart example files. If you did not install the GemFire examples, then this example will not work properly.

BenchmarkHierarchicalClient: Measures the time it takes for a put operation to return in a hierarchical cache configuration. In this test, the native client does the putting and its bridge writer automatically forwards the puts to the cache server. The measurement includes the time required to send the data to the server.

NOTE: The BenchmarkHierarchicalClient example requires the GemFire Enterprise QuickStart example files. If you did not install the GemFire examples, then this example will not work properly.

CqQuery: Demonstrate the usage of C# continuous query API.


.NET API Reference Online .NET API documentation for the native client.
C++ API Reference Online C++ API documentation for the native client.