Reference Guide C API www.spreadconcepts.com


Programmer's Reference Guide
Replicated Hash Table
Version 2.0


API Description

Currently, RHT provides unique key, unordered dictionaries that support the following main operations: putting/deleting key-value pairs, performing exact key lookups, locally locking the dictionary, taking snapshots and querying + iterating around in snapshots and locked dictionaries.

Getting started with RHT consists of just a handful of API calls needed to build an application. These include:

Function
Description
Initializes the library
Creates a local replica of a specified replica
Called to "shut down" a replica
Inserts the key-value pair (k -> v) into a replica
Performs a lookup on a replica
Deletes a key and its value from a replica

Many more features and API calls exist for the RHT. For a complete API reference, refer to the C-API.



Copyright © 2004, Spread Concepts LLC, All rights reserved