Using the Java API

The Java API is defined in the Bocas interface, which is shown below:

The gadget spec URL could not be found

The memory back ends are the recommended way to try and get used to the API, which is divided in three main groups:
  • Checking whether entries are contained in the repository.
  • Obtaining entries.
  • Adding entries to the repository.
All operations are provided in two flavors: single entry and multiple entries. All implementations are encouraged to optimize bulk operations where possible (for example reducing the number of remote calls if they are needed). Besides there is additional support for adding sets of entries contained in a ZIP file.

Subpages (1): Keys, Values and Entries