@Override
    public Integer addAndGetRank(double score, V object) {
        return get(addAndGetRankAsync(score, object));
    }
@Test
    public void testAddAndGetRank() {
        RScoredSortedSet<Integer> set = redisson.getScoredSortedSet("simple");
        Integer res = set.addAndGetRank(0.3, 1);
        assertThat(res).isEqualTo(0);
        Integer res2 = set.addAndGetRank(0.4, 2);
        assertThat(res2).isEqualTo(1);
        Integer res3 = set.addAndGetRank(0.2, 3);
        assertThat(res3).isEqualTo(0);

        Assertions.assertTrue(set.contains(3));
    }