seancarroll/fdb-java-es

View on GitHub
src/main/java/com/eventfully/foundationdb/eventstore/ReadNextAllSlice.java

Summary

Maintainability
A
0 mins
Test Coverage
package com.eventfully.foundationdb.eventstore;

import com.apple.foundationdb.tuple.Versionstamp;

import java.util.concurrent.CompletableFuture;

/**
 * Represents an operation to read the next all slice.
 */
@FunctionalInterface
public interface ReadNextAllSlice {

    /**
     *
     * @param fromPositionInclusive
     * @return
     */
    CompletableFuture<ReadAllSlice> get(Versionstamp fromPositionInclusive);

}