1 #ifndef ARBITRATIONROUND_H
2 #define ARBITRATIONROUND_H
6 class ArbitrationRound {
8 Set<Abort *> * abortsBefore = NULL;
9 List<Entry *> * parts = NULL;
12 bool didSendPart = false;
13 bool didGenerateParts = false;
16 ArbitrationRound(Commit * _commit, Set<Abort *> * _abortsBefore);
18 List<Entry> * getParts();
19 void removeParts(List<Entry> * removeParts);
21 void setCommit(Commit * _commit);
22 void addAbort(Abort * abort);
23 void addAborts(Set<Abort *> * aborts);
24 Set<Abort *> * getAborts();