How can I replay data in VanillaChronicle starting from a particular day?

94 views
Skip to first unread message

xiaga...@gmail.com

unread,
Apr 14, 2015, 1:08:01 AM4/14/15
to java-ch...@googlegroups.com

Since VanillaChronicle stores data in different dirs named by dates, can I replay the data starting from a particular day? Sample codes are appreciated. Thanks!

Peter Lawrey

unread,
Apr 15, 2015, 7:03:14 AM4/15/15
to java-ch...@googlegroups.com

The top 24 bits of the index have the cycle number. For daily cycles it is the number of days from epoch. You can start at this index and replay from there.

On 14 Apr 2015 6:08 am, <xiaga...@gmail.com> wrote:

Since VanillaChronicle stores data in different dirs named by dates, can I replay the data starting from a particular day? Sample codes are appreciated. Thanks!

--
You received this message because you are subscribed to the Google Groups "Chronicle" group.
To unsubscribe from this group and stop receiving emails from it, send an email to java-chronicl...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

xiaga...@gmail.com

unread,
Apr 16, 2015, 2:29:50 AM4/16/15
to java-ch...@googlegroups.com
Thanks! I'll try that.

在 2015年4月15日星期三 UTC+8下午7:03:14,Peter Lawrey写道:

Peter Lawrey

unread,
Apr 16, 2015, 3:01:11 AM4/16/15
to java-ch...@googlegroups.com

A simple way to see this is to print the index in hexi - decimal.

Reply all
Reply to author
Forward
0 new messages