I'am trying to use chronicleMap.parallelStream:
myChronicleMap.entrySet().parallelStream().forEach((entry) -> {
process(entry); //heavy process
}
I got the following exception.
java.lang.IllegalStateException: ChronicleMap ... Iterator should be accessed only from a single thread
Any idea how to use chronicleMap and parallelStream? Thanks