com.manorrock.eagle:project

Manorrock Eagle delivers you with a Key-Value Store abstraction.


License
DOC

Documentation

Manorrock Eagle

This project delivers you with a Key-Value Store abstraction.

Our current list of features/implementations available:

  1. Azure Blob Storage implementation
  2. Azure Cosmos DB implementation
  3. Azure File Share implementation
  4. Azure KeyVault Certificate implementation
  5. Azure KeyVault Key implementation
  6. Azure KeyVault Secret implementation
  7. Factory functionality
  8. Filesystem implementation
  9. Hazelcast implementation
  10. Manrrock Calico implementation
  11. Oracle Coherence implementation
  12. Path implementation
  13. Redis implementation

Getting started

  1. Creating the Key-Value Store
  2. Storing a value.
  3. Getting a value.
  4. Removing a value.

Creating the Key-Value Store

Pick one of the Key-Value Store implementations you want to use above.

If you would have taken the Filesystem implementation the code to create the Key-Value Store would look like the code below.

  File baseDirectory = new File("mybasedir");
  FilesystemKeyValueStore<String, byte[]> store = new FilesystemKeyValueStore<>(baseDirectory);

Storing a value

The example below illustrates how to store a value.

  store.put("mykey", "myvalue");

Getting a value

The example below illustrates how to store a value.

  String value = store.get("mykey");

Deleting a value

The example below illustrates how to delete a value.

  store.delete("mykey");