@Override
    public TimeSeriesEntry<V, L> pollFirstEntry() {
        return get(pollFirstEntryAsync());
    }
@Test
    public void testPollFirstEntry() {
        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.pollFirstEntry();
        assertThat(e).isEqualTo(new TimeSeriesEntry<>(1, "10", "100"));

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

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