import java.nio.ByteBuffer;
class TableStatus extends Entry {
- int maxslots;
+ private int maxslots;
TableStatus(Slot slot, int _maxslots) {
super(slot);
maxslots=_maxslots;
}
+ int getMaxSlots() {
+ return maxslots;
+ }
+
static Entry decode(Slot slot, ByteBuffer bb) {
int maxslots=bb.getInt();
return new TableStatus(slot, maxslots);