@Test public void getSegments() { SortedSet<Long> segments = testSubject.getSegments(); assertTrue(segments.contains(0L)); assertTrue(segments.contains(14L)); assertEquals(14, (long)segments.first()); }
@Override protected SortedSet<Long> getSegments() { return segments; }
InputStreamEventStore extends SegmentBasedEventStore implements ReadOnlySegmentsHandler { @Override protected SortedSet<Long> getSegments() { return segments; } }
InputStreamEventStore extends SegmentBasedEventStore implements ReadOnlySegmentsHandler { @Override protected SortedSet<Long> getSegments() { return segments; } InputStreamEventStore(EventTypeContext context, IndexManager indexManager,
                                 EventTransformerFactory eventTransformerFactory,
                                 StorageProperties storageProperties, MeterFactory meterFactory); }
InputStreamEventStore extends SegmentBasedEventStore implements ReadOnlySegmentsHandler { @Override protected SortedSet<Long> getSegments() { return segments; } InputStreamEventStore(EventTypeContext context, IndexManager indexManager,
                                 EventTransformerFactory eventTransformerFactory,
                                 StorageProperties storageProperties, MeterFactory meterFactory); @Override void handover(Long segment, Runnable callback); @Override void initSegments(long lastInitialized); @Override void close(boolean deleteData); @Override Optional<EventSource> getEventSource(long segment); @Override void deleteAllEventData(); }
InputStreamEventStore extends SegmentBasedEventStore implements ReadOnlySegmentsHandler { @Override protected SortedSet<Long> getSegments() { return segments; } InputStreamEventStore(EventTypeContext context, IndexManager indexManager,
                                 EventTransformerFactory eventTransformerFactory,
                                 StorageProperties storageProperties, MeterFactory meterFactory); @Override void handover(Long segment, Runnable callback); @Override void initSegments(long lastInitialized); @Override void close(boolean deleteData); @Override Optional<EventSource> getEventSource(long segment); @Override void deleteAllEventData();  }