/**
* Raft log builder.
*/
- public static class Builder<E> implements io.atomix.utils.Builder<SegmentedJournal<E>> {
+ public static class Builder<E> {
private static final boolean DEFAULT_FLUSH_ON_COMMIT = false;
private static final String DEFAULT_NAME = "atomix";
private static final String DEFAULT_DIRECTORY = System.getProperty("user.dir");
return this;
}
- @Override
+ /**
+ * Build the {@link SegmentedJournal}.
+ *
+ * @return A new {@link SegmentedJournal}.
+ */
public SegmentedJournal<E> build() {
return new SegmentedJournal<>(
name,