Questions tagged [chronicle-map]

Chronicle Map is an efficient, low latency in-memory Key Value Store for the JVM with optional persistence to disk.

Chronicle Map is a high performance, off-heap, key-value, in memory, persisted data store. It works like a standard Java map, yet it automatically distributes data between processes. These processes can be both on the same server or across your network. In other words, it's a low-latency, huge data key value store, which can store terabytes of data locally to your process.

118 questions
1
vote
1 answer

Chronicle: object not initialized during deserialization

I currently have class which have some fields initialized in declaration, like this: public class SomeClass implements Externalizable { private long id; private final List hits = new ArrayList<>(); @Override public void…
Ruslan Akhundov
  • 2,178
  • 4
  • 20
  • 38
1
vote
1 answer

UI/Utility for viewing the contents of chronicle queue/maps

Is there any UI or a utility through which we can check the contents of Chronicle Queues and Chronicle Maps? Till now I have only found DumpQueueMain class which spits out all the info available on the queue. Thanks!
1
vote
1 answer

Chronicle map using primitives

In Chronicle-map description it is said: Chronicle Map provides in-memory access speeds, and supports ultra-low garbage collection. Chronicle Map can support the most demanding of applications. What does supports ultra-low garbage collection…
Ruslan Akhundov
  • 2,178
  • 4
  • 20
  • 38
1
vote
2 answers

Chronicle-map update persisted value

I need to update a persisted value. I mean: ////// Class InfoEquipoCache used as value of CM class InfoEquipoCache implements BytesMarshallable { private EquipoCache equipoCache; public void actualiza() { ..... …
1
vote
1 answer

ChronicleMap is not closed manually, cleaned up from Cleaner

I am using ChronicleMap in JavaEE7/CDI app. Conversation scope is used a lot. It's very difficult to predict where the user will exit the conversation in order to close the maps. Although I am trying to close all instances in a @PreDestroy method,…
kem
  • 407
  • 1
  • 6
  • 20
1
vote
1 answer

How to know the configured size of the Chronicle Map?

We use Chronicle Map as a persisted storage. As we have new data arriving all the time, we continue to put new data into the map. Thus we cannot predict the correct value for net.openhft.chronicle.map.ChronicleMapBuilder#entries(long). Chronicle 3…
Nikem
  • 5,716
  • 3
  • 32
  • 59
1
vote
2 answers

java Chronicle Map - JavacTool java.lang.ClassNotFoundException

Trying to execute myApp based on ChronicleMap API: java -jar myApp-00.00.01-SNAPSHOT-jar-with-dependencies.jar and getting exception. Exception in thread "main" java.lang.AssertionError: java.lang.ClassNotFoundException:…
Felix
  • 1,662
  • 2
  • 18
  • 37
1
vote
1 answer

Using chronicle map and byte[] or byte buffer

I am trying to create a Chronicle map with a Long key and a variable sized byte[], a serialized Java BitSet to be precise. I can create a map at using Values interface, but the size of the array in it is fixed. So, I am looking to use byte[] or…
1
vote
1 answer

Chronicle Map 2 containsKey doesn't work

I have the following map definition where map.containsKey() clearly doesn't work: ChronicleMapBuilder cmBuilder = ChronicleMapBuilder.of(String.class, String.class); cmBuilder.constantKeySizeBySample("abcde") …
Soid
  • 2,585
  • 1
  • 30
  • 42
1
vote
1 answer

Chronicle Map throw exception after a restart

I got the following exception: java.lang.IllegalStateException: We a tier without interruption, but according to tier counters there should be 1 more entries. Size diverged? …
Hui Li
  • 51
  • 2
1
vote
2 answers

Chronicle Map v3.9.0 returning different sizes

I am using v3.9.0 of Chronicle Map where I have two processes where Process A writes to a ChronicleMap and Process B just initializes with the same persistent file that A uses. After loading, I print Map.size in Process A and Process B but I get…
chauhraj
  • 469
  • 4
  • 19
1
vote
1 answer

Problems with Chronicle Map on Windows

I am trying to use ChronicleMap for my index structure, this seems to work fine on Linux but when I am running my JUnit test on Windows (which is my development environment), I keep getting an error: java.io.IOException: Unable to wait until the…
user3892260
  • 965
  • 2
  • 10
  • 19
1
vote
1 answer

Open HFT Chronicle Map , Class Not Found Exception on Websphere

I am trying to use OpenHFT ChronicleMap , the code runs in Tomcat, but fails in Websphere with the following error (below) Note : This does not happen in Tomcat , only with Websphere. code : private ChronicleMap
Viv
  • 63
  • 4
1
vote
1 answer

Chronicle map <-> engine relation

Really a quick question: I see chronicle Map 3X is moving some of the functionality to Engine product. However Engine itself relies on Map 2X. I am a bit confused how can I use them together? I assume I am missing something but not sure what…
1
vote
1 answer

Changing the size of a ChronicleMap

I have a ChronicleMap (v2.3.2) running in a server, created using the following call: ChronicleMapBuilder.of(MyKey.class, MyValue.class).entries(20_000_000).createPersistedTo(pathToData); There is a possibility that the number of entries stored in…
Rich
  • 15,602
  • 15
  • 79
  • 126