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