OpenHFT / Chronicle-Map

Replicate your Key Value Store across your network, with consistency, persistance and performance.
http://chronicle.software/products/chronicle-map/
Apache License 2.0
2.77k stars 469 forks source link

How to create a ChronicleMap<A, ChronicleMap<B, ChronicleMap<C, D>>>? #470

Closed dxxvi closed 1 year ago

dxxvi commented 1 year ago

With Java's Map, I can write something like

Map<A, Map<B, Map<C, D>>> map = new ConcurrentHashMap<>();

How can I write something like that with ChronicleMap?

Map<A, Map<B, Map<C, D>>> map = ChronicleMapBuilder.of(A.class, ???what-should-be-here???).entries(5000).create();
JerryShea commented 1 year ago

Please use stackoverflow for questions. Chronicle Map does not support that - if you would like help with your particular use case please explore support options.