seancarroll/fdb-java-es

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

Summary

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

// TODO: We dont need StreamPosition and StreamVersion
/**
 * Constants for stream positions
 */
public final class StreamPosition {

    /**
     * The first event in a stream
     */
    public static final long START = 0;

    /**
     *The last event in the stream
     */
    public static final long END = -1;

    private StreamPosition() {
        // public static fields only
    }

}