}
public void encode(ByteBuffer bb) {
- bb.put(Entry.TypeAbort);
+ bb.put(Entry.TypeNewKey);
bb.putInt(key.length());
bb.put(key.internalBytes());
bb.putLong(machineid);
}
public int getSize() {
- return Long.BYTES + Byte.BYTES + key.length();
+ return Long.BYTES + Byte.BYTES + Integer.BYTES + key.length();
}
public byte getType() {