@Override
    public void exclude(final long segment) {
        check(segment);
        includeAll = true;

        if (excluded == null) {
            excluded = new TreeSet<>();
        }

        excluded.add(segment);
    }
Excludes a specific segment number when reading from this input stream.
Initially all segments are included so setting this will exclude only the
specified segment.

@param segment The segment to exclude.
stroom-data/stroom-data-store-impl-fs/src/main/java/stroom/data/store/impl/fs/RASegmentInputStream.java