I would start simple with the Map interface.
To write/persist.
map.put (key, value);
When put returns it has been committed.
To read
Type value = map.get (key);
There is more advanced examples which avoid creating garbage and serialization. We also support entry level locking shared across processes.
You can also look at the keySet () or enteySet ()
--
You received this message because you are subscribed to the Google Groups "Chronicle" group.
To unsubscribe from this group and stop receiving emails from it, send an email to java-chronicl...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
This is why I would start with the Map interface as this should be familiar to you already.
ConcurrentMap is a standard interface and you can use it the same on hazelcast, chronicle or plain core java. The only difference is the in Chronicle you create/configure the Map from Java.
We are looking to migrate chronicle to supporting file based configuration as the preferred option but it will behave as it does now once created.
It is only when you look at non - standard options do they diverge but I would leave those to when you have the basic examples working.