1 #ifndef ARBITRATIONROUND_H
2 #define ARBITRATIONROUND_H
4 #define ArbitrationRound_MAX_PARTS 10
7 class ArbitrationRound {
9 Hashset<Abort *> *abortsBefore;
10 Vector<Entry *> *parts;
14 bool didGenerateParts;
17 ArbitrationRound(Commit *_commit, Hashset<Abort *> *_abortsBefore);
21 Vector<Entry *> *getParts();
22 void removeParts(Vector<Entry *> *removeParts);
24 void setCommit(Commit *_commit);
25 void addAbort(Abort *abort);
26 void addAborts(Hashset<Abort *> *aborts);
27 Hashset<Abort *> *getAborts();
31 bool getDidSendPart();