public int dataSize() {
   int size = TypeSizes.NATIVE.sizeof(topLevel.markedForDeleteAt);
   for (RangeTombstone r : ranges) {
     size += r.min.remaining() + r.max.remaining();
     size += TypeSizes.NATIVE.sizeof(r.data.markedForDeleteAt);
   }
   return size;
 }
Exemple #2
0
 public int dataSize() {
   int size = TypeSizes.NATIVE.sizeof(topLevel.markedForDeleteAt);
   return size + (ranges == null ? 0 : ranges.dataSize());
 }