Coherence for C++ allows C++ applications to access Coherence clustered services, including data, data events, and data processing from outside the Coherence cluster. Typical uses of Coherence for C++ include desktop and web applications that require access to Coherence caches.
Coherence for C++ consists of a native C++ library that connects to a Coherence*Extend clustered service instance running within the Coherence cluster using a high performance TCP/IP-based communication layer. This library sends all client requests to the Coherence*Extend clustered service which, in turn, responds to client requests by delegating to an actual Coherence clustered service (for example, a Partitioned or Replicated cache service).
A NamedCache instance is retrieved via the CacheFactory::getCache(...) API call. Once it is obtained, a client accesses the NamedCache in the same way as it would if it were part of the Coherence cluster. The fact that NamedCache operations are being sent to a remote cluster node (over TCP/IP) is completely transparent to the client application.
Skip to end of metadata Go to start of metadata
Page: Configuration and Usage for C++ Clients Page: Configuring a Local Cache for C++ Clients Page: Configuring a Near Cache for C++ Clients Page: Deliver events for changes as they occur (C++) Page: Understanding the Coherence C++ Object Model Page: Overview - Coherence for C++ Page: Perform Continuous Query for C++ Clients Page: Query the Cache for C++ Clients Page: Remote Invocation Service for C++ Clients Page: Requirements, Installation, and Deployment Page: Sample Applications for C++ Clients Page: Understanding the Coherence for C++ API Page: Integrating user data types