Summary: Example application that demonstrates using the GigaSpaces C++ API.
OverviewThe API Usage Example demonstrates using the GigaSpaces C++ API to perform space operations.
The code for this example is located at <GigaSpaces Root>\cpp\examples\APIUsageExample. This example runs by default using a predefined embedded space. It can work with any given space (embedded, remote or clustered) simply by providing the space URL as an argument. Building and Running the Example
For more information on setting the environment refer to Installing C++ Package. After running the example the console will have the following output: Retrieved a space proxy to /./APIUsageExampleEmbeddedSpace?groups=CPP-GROUP Did snapshot for Person class Running ... Basic read, write and take Batch operations Number of persons that live in New York is: 50 Number of persons that live in New York aged 30+ is: 35 Total number of person entries removed from space: 100 Using Transactions Using GSIterator Number of values in iteration: 100 Number of values in blocking iteration: 100 Event Session API (Notifications) Total number of notifications received: 100 DONE Press Enter to end API Usage Example...
|
![]() |
GigaSpaces.com - Legal Notice - 3rd Party Licenses - Site Map - API Docs - Forum - Downloads - Blog - White Papers - Contact Tech Writing - Gen. by Atlassian Confluence |