@Override
    public boolean remove(long timestamp) {
        return get(removeAsync(timestamp));
    }
@Test
    public void testRemove() {
        RTimeSeries<String, Object> t = redisson.getTimeSeries("test");
        t.add(1, "10");
        t.add(2, "10");
        t.add(3, "30");
        t.add(4, "40");

        assertThat(t.removeRange(2, 3)).isEqualTo(2);
        assertThat(t.size()).isEqualTo(2);
        assertThat(t.range(1, 4)).containsExactly("10", "40");
        assertThat(t.rangeReversed(1, 4)).containsExactly("40", "10");

        assertThat(t.remove(4)).isTrue();
        assertThat(t.remove(5)).isFalse();
        assertThat(t.size()).isEqualTo(1);
    }