@Override
    public Collection<TimeSeriesEntry<V, L>> pollFirstEntries(int count) {
        return get(pollFirstEntriesAsync(count));
    }
@Test
    public void testPollFirstEntries() {
        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.pollFirstEntries(2);
        assertThat(s).containsExactly(new TimeSeriesEntry<>(1, "10", "100"),
                                        new TimeSeriesEntry<>(2, "20"));

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