ChronicleQueue Off-Heap Data Structures With Arrays

32 views
Skip to first unread message

Nicholas Whitehead

unread,
Feb 10, 2016, 5:21:06 PM2/10/16
to Chronicle
Trying to figure out how to implement a variable length field in an OffHeap data structure, but the compiler has dinged my attempts.
I would like to keep an variable (and updateable) size set of longs per instance. These longs are the chronicle index where other structures are stored (so it's a one to many, if you will).
Is this possible ? Can you supply an example ? I understand that I will need to put a @MaxSize on the setter method which should not be an issue since I have a hard upper limit.

Thanks.

//Nicholas
Reply all
Reply to author
Forward
0 new messages