@Test public void reserveSequenceNumbersValidSequenceMultipleEvents2() { testSubject.reserveSequenceNumbers(asList( serializedEvent("OTHER", "SampleAgg", 11) )); testSubject.reserveSequenceNumbers(asList( serializedEvent("OTHER", "SampleAgg", 12) )); }
public void reserveSequenceNumbers(List<SerializedEvent> events) { reserveSequenceNumbers(events, false); }
SequenceNumberCache { public void reserveSequenceNumbers(List<SerializedEvent> events) { reserveSequenceNumbers(events, false); } }
SequenceNumberCache { public void reserveSequenceNumbers(List<SerializedEvent> events) { reserveSequenceNumbers(events, false); } SequenceNumberCache(
            BiFunction<String, EventStorageEngine.SearchHint[], Optional<Long>> aggregateSequenceNumberProvider);  SequenceNumberCache(
            BiFunction<String, EventStorageEngine.SearchHint[], Optional<Long>> aggregateSequenceNumberProvider,
            Clock clock, int maxSize); }
SequenceNumberCache { public void reserveSequenceNumbers(List<SerializedEvent> events) { reserveSequenceNumbers(events, false); } SequenceNumberCache(
            BiFunction<String, EventStorageEngine.SearchHint[], Optional<Long>> aggregateSequenceNumberProvider);  SequenceNumberCache(
            BiFunction<String, EventStorageEngine.SearchHint[], Optional<Long>> aggregateSequenceNumberProvider,
            Clock clock, int maxSize); void reserveSequenceNumbers(List<SerializedEvent> events); Runnable reserveSequenceNumbers(List<SerializedEvent> events, boolean force); void clear(); void clearOld(long timeout); void close(); }
SequenceNumberCache { public void reserveSequenceNumbers(List<SerializedEvent> events) { reserveSequenceNumbers(events, false); } SequenceNumberCache(
            BiFunction<String, EventStorageEngine.SearchHint[], Optional<Long>> aggregateSequenceNumberProvider);  SequenceNumberCache(
            BiFunction<String, EventStorageEngine.SearchHint[], Optional<Long>> aggregateSequenceNumberProvider,
            Clock clock, int maxSize); void reserveSequenceNumbers(List<SerializedEvent> events); Runnable reserveSequenceNumbers(List<SerializedEvent> events, boolean force); void clear(); void clearOld(long timeout); void close();  }