lets say I have two threads which want to communicate using the same Chronicle queue, writer:
SingleChronicleQueue queue_en = SingleChronicleQueueBuilder.binary(path).build();
ExcerptAppender appender = queue_en.acquireAppender();
....
reader:
SingleChronicleQueue queue_en = SingleChronicleQueueBuilder.binary(path).build();
ExcerptTailer tailer = queue_en.createTailer();
...
now when I start my application I got:
[Thread-1] n.o.c.q.i.t.SingleTableStore Failed to acquire a lock on the table store file. Retrying
Exception in thread "Thread-1" java.lang.NoSuchMethodError: net.openhft.chronicle.core.util.Time.sleep(JLjava/util/concurrent/TimeUnit;)V
at net.openhft.chronicle.queue.impl.table.SingleTableStore.doWithExclusiveLock(SingleTableStore.java:153)
at net.openhft.chronicle.queue.impl.table.SingleTableBuilder.build(SingleTableBuilder.java:111)
at net.openhft.chronicle.queue.impl.single.SingleChronicleQueueBuilder.initializeMetadata(SingleChronicleQueueBuilder.java:430)
at net.openhft.chronicle.queue.impl.single.SingleChronicleQueueBuilder.preBuild(SingleChronicleQueueBuilder.java:995)
at net.openhft.chronicle.queue.impl.single.SingleChronicleQueueBuilder.build(SingleChronicleQueueBuilder.java:328)
at
....
may I ask you how to do it correctly ?