7 * TableStatus entries record the current size of the data structure
8 * in slots. Used to remember the size and to perform resizes.
13 class TableStatus : public Entry {
18 TableStatus(Slot *slot, int _maxslots) : Entry(slot),
21 int getMaxSlots() { return maxslots; }
22 void encode(ByteBuffer *bb);
23 int getSize() { return sizeof(int32_t) + sizeof(char); }
25 char getType() { return TypeTableStatus; }
27 Entry *getCopy(Slot *s) { return new TableStatus(s, maxslots); }
30 Entry *TableStatus_decode(Slot *slot, ByteBuffer *bb);