示例#1
0
            public LinkedListAnonymousInnerClass(RaftStateTest outerInstance)
            {
                this.outerInstance = outerInstance;

                this.add(new AppendLogEntry(1, new RaftLogEntry(0L, valueOf(0))));
                this.add(new AppendLogEntry(2, new RaftLogEntry(0L, valueOf(1))));
                this.add(new AppendLogEntry(3, new RaftLogEntry(0L, valueOf(2))));
                this.add(new AppendLogEntry(4, new RaftLogEntry(0L, valueOf(4))));
                this.add(new TruncateLogCommand(3));
                this.add(new AppendLogEntry(3, new RaftLogEntry(0L, valueOf(5))));
            }
示例#2
0
 public FakeMembership(RaftStateTest outerInstance)
 {
     this._outerInstance = outerInstance;
 }