@Override
    public Collection<TimeSeriesEntry<V, L>> firstEntries(int count) {
        return get(firstEntriesAsync(count));
    }
@Test
    public void testFirstEntries() {
        RTimeSeries<String, String> t = redisson.getTimeSeries("test");
        t.add(1, "10", "100");
        t.add(2, "20");
        t.add(3, "30");

        Collection<TimeSeriesEntry<String, String>> s = t.firstEntries(2);
        assertThat(s).containsExactly(new TimeSeriesEntry<>(1, "10", "100"),
                new TimeSeriesEntry<>(2, "20"));

        assertThat(t.size()).isEqualTo(3);
    }