import java.util.function.Function;
public interface RollingChronicleQueue extends ChronicleQueue {
long epoch();
@Nullable
WireStore storeForCycle(int cycle, final long epoch, boolean createIfAbsent);
<BUG>void release(@NotNull WireStore store);
int firstCycle();</BUG>
int lastCycle();
int nextCycle(int currentCycle, @NotNull TailerDirection direction) throws ParseException;
long countExcerpts(long fromIndex, long toIndex) throws java.lang.IllegalStateException;

import java.util.function.Function;
public interface RollingChronicleQueue extends ChronicleQueue {
long epoch();
@Nullable
WireStore storeForCycle(int cycle, final long epoch, boolean createIfAbsent);
void release(WireStore store);
int firstCycle();
int lastCycle();
int nextCycle(int currentCycle, @NotNull TailerDirection direction) throws ParseException;
long countExcerpts(long fromIndex, long toIndex) throws java.lang.IllegalStateException;
