@Test public void returnsTheCorrectQuorumConfigurationForSuchAnEntry() throws Exception { QuorumConfiguration config = aQuorumConfiguration(); log.append(singleEntryListForConfiguration(config)); assertThat(descriptionLog.getLastEntry().getQuorumConfiguration(), is(equalTo(config))); }
public QuorumConfiguration getQuorumConfiguration() { return quorumConfiguration; }
OLogEntryDescription extends SequentialEntry { public QuorumConfiguration getQuorumConfiguration() { return quorumConfiguration; } }
OLogEntryDescription extends SequentialEntry { public QuorumConfiguration getQuorumConfiguration() { return quorumConfiguration; } OLogEntryDescription(long seqNum,
                              long electionTerm,
                              int contentLength,
                              OLogContentType type,
                              boolean headerCrcIsValid,
                              boolean contentCrcIsValid,
                              QuorumConfiguration quorumConfiguration); }
OLogEntryDescription extends SequentialEntry { public QuorumConfiguration getQuorumConfiguration() { return quorumConfiguration; } OLogEntryDescription(long seqNum,
                              long electionTerm,
                              int contentLength,
                              OLogContentType type,
                              boolean headerCrcIsValid,
                              boolean contentCrcIsValid,
                              QuorumConfiguration quorumConfiguration); long getElectionTerm(); int getContentLength(); OLogContentType getType(); boolean isHeaderCrcValid(); boolean isContentCrcValid(); QuorumConfiguration getQuorumConfiguration(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
OLogEntryDescription extends SequentialEntry { public QuorumConfiguration getQuorumConfiguration() { return quorumConfiguration; } OLogEntryDescription(long seqNum,
                              long electionTerm,
                              int contentLength,
                              OLogContentType type,
                              boolean headerCrcIsValid,
                              boolean contentCrcIsValid,
                              QuorumConfiguration quorumConfiguration); long getElectionTerm(); int getContentLength(); OLogContentType getType(); boolean isHeaderCrcValid(); boolean isContentCrcValid(); QuorumConfiguration getQuorumConfiguration(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }