equal
deleted
inserted
replaced
38 public interface EventStream extends AutoCloseable { |
38 public interface EventStream extends AutoCloseable { |
39 |
39 |
40 /** |
40 /** |
41 * Creates a stream from a disk repository. |
41 * Creates a stream from a disk repository. |
42 * <p> |
42 * <p> |
43 * By default, the stream will start with the next event that is flushed by |
43 * By default, the stream starts with the next event flushed by Flight Recorder. |
44 * Flight Recorder. |
|
45 * |
44 * |
46 * @param directory location of the disk repository, not {@code null} |
45 * @param directory location of the disk repository, not {@code null} |
47 * |
46 * |
48 * @return an event stream, not {@code null} |
47 * @return an event stream, not {@code null} |
49 * |
48 * |
55 } |
54 } |
56 |
55 |
57 /** |
56 /** |
58 * Creates an event stream from a file. |
57 * Creates an event stream from a file. |
59 * <p> |
58 * <p> |
60 * By default, the stream will start with the first event in the file. |
59 * By default, the stream starts with the first event in the file. |
61 * |
60 * |
62 * @param file location of the file, not {@code null} |
61 * @param file location of the file, not {@code null} |
63 * |
62 * |
64 * @return an event stream, not {@code null} |
63 * @return an event stream, not {@code null} |
65 * |
64 * |