ChronicleQueue Off-Heap Data Structures With Arrays

32 visninger
Gå til det første ulæste opslag

Nicholas Whitehead

ulæst,
10. feb. 2016, 17.21.0610.02.2016
til 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
Svar alle
Svar til forfatter
Videresend
0 nye opslag