* @author <a href="http://github.com/kuujo">Jordan Halterman</a>
*/
public interface Journal<E> extends AutoCloseable {
+ /**
+ * Return the index of the last entry in the journal.
+ *
+ * @return the last index, or zero if there are no entries.
+ */
+ long lastIndex();
+
/**
* Returns the journal writer.
*