Denis Database

A lightweight Java cache and data engine

This site turns the project’s scattered README information into a clearer product-style documentation experience.

Action Classes

Typed data actions documented by the project

The Denis README includes a DAPI-style section focused on three action classes. They model different key and value shapes on top of concurrent in-memory storage patterns.

Available classes

actString

Stores a String key and String value pair for basic CRUD-style operations and existence checks.

actListrig

Associates a List<String> key with a String value using a concurrent map-oriented structure.

actStrist

Associates a String key with a List<String> value when one key needs to bind to multiple values.

actString example

actString actstr = new actString();

actstr.set("key1", "value1");
String value = actstr.get("key1");
boolean exists = actstr.exists("key1");
actstr.del("key1");

actListrig example

import java.util.Arrays;
import java.util.List;

actListrig actlist = new actListrig();
List<String> key = Arrays.asList("item1", "item2");

actlist.set(key, "value1");
String value = actlist.get(key);
boolean exists = actlist.getStore().containsKey(key);
actlist.del(key);

actStrist example

actStrist actstrist = new actStrist();

String key = "group1";
List<String> values = Arrays.asList("item1", "item2", "item3");

actstrist.set(key, values);
List<String> retrievedValues = actstrist.get(key);
boolean exists = actstrist.exists(key);
actstrist.del(key);

When to use which one

  • Use actString for the simplest single key to single value mapping.
  • Use actListrig when a composite list key identifies a single value.
  • Use actStrist when a single named key owns multiple related string values.