chronicle-bytes

chronicle-bytes shared DirectBytesStores

爷,独闯天下 提交于 2019-12-11 03:15:37
问题 I've created a MappedBytes instance to a file that I'm using as shared cache between different Java processes. I would like to be able to split out additional MappedByte instances (or ByteBuffer or any other instance) from the original that provide direct read/write access to a subset of the underlying file. I've spent today experimenting with different methods but options like subBytes() , rawCopy() and copyTo() all seem to create local copies of the underlying file, rather than accessing

Reading messages in Chronicle Queue Tailer (v5.16.11) does not auto-move the index to next roll cycle

为君一笑 提交于 2019-11-28 06:31:44
问题 I use CQ v5.16.11 (with openjdk 11) to save data with daily roll cycles. The process runs non-stop from Sun to Fri so I have 5 cq4 files per week. I ran the process for 1.5 weeks and have 8 files (3 for 1st and 5 for 2nd week). So the files that I have are: 20181003.cq4 cycle=17807, 20181004.cq4 cycle=17808, 20181005.cq4 cycle=17809, 20181007.cq4 cycle=17811, 20181008.cq4 cycle=17812, 20181009.cq4 cycle=17813, 20181010.cq4 cycle=17814, 20181011.cq4 cycle=17815, Note the missing file for