@Override
    public TimeSeriesEntry<V, L> pollLastEntry() {
        return get(pollLastEntryAsync());
    }
@Test
    public void testPollLastEntry() {
        RTimeSeries<String, String> t = redisson.getTimeSeries("test");
        t.add(1, "10", "100");
        t.add(2, "20");
        t.add(3, "30");

        TimeSeriesEntry<String, String> e = t.pollLastEntry();
        assertThat(e).isEqualTo(new TimeSeriesEntry<>(3, "30"));

        assertThat(t.size()).isEqualTo(2);

        TimeSeriesEntry<String, String> ee = t.lastEntry();
        assertThat(ee).isEqualTo(new TimeSeriesEntry<>(2, "20"));
    }