com.yahoo.gondola.IndexNotFoundException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Java implementation of Raft
The newest version!
package com.yahoo.gondola;
public class IndexNotFoundException extends Exception {
int earliestIndex;
IndexNotFoundException(int earliestIndex) {
this.earliestIndex = earliestIndex;
}
/**
* @return the earliest index in the log.
*/
public int getEarliestIndex() {
return earliestIndex;
}
}