3 * TableStatus entries record the current size of the data structure
4 * in slots. Used to remember the size and to perform resizes.
10 class TableStatus extends Entry {
13 TableStatus(Slot slot, int _maxslots) {
22 static Entry decode(Slot slot, ByteBuffer bb) {
23 int maxslots=bb.getInt();
24 return new TableStatus(slot, maxslots);
27 void encode(ByteBuffer bb) {
28 bb.put(Entry.TypeTableStatus);
33 return sizeof(int32_t)+sizeof(char);
37 return Entry.TypeTableStatus;
40 Entry getCopy(Slot s) {
41 return new TableStatus(s, maxslots);