7 * This Entry records the abort sent by a given machine.
8 * @author Ali Younis <ayounis@uci.edu>
12 class NewKey : public Entry {
18 NewKey(Slot *slot, IoTString *_key, int64_t _machineid);
20 int64_t getMachineID() { return machineid; }
21 IoTString *getKey() { return key; }
22 void setSlot(Slot *s) { parentslot = s; }
23 void encode(ByteBuffer *bb);
25 char getType() { return TypeNewKey; }
26 Entry *getCopy(Slot *s);
29 Entry *NewKey_decode(Slot *slot, ByteBuffer *bb);