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

        Collection<TimeSeriesEntry<String, String>> s = t.pollLastEntries(2);
        assertThat(s).containsExactly(new TimeSeriesEntry<>(2, "20", "200"),
                new TimeSeriesEntry<>(3, "30"));

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