@Override
    public double getAndDelete() {
        return get(getAndDeleteAsync());
    }
@Test
    public void testGetAndDelete() {
        RAtomicDouble al = redisson.getAtomicDouble("test");
        al.set(10.34);
        assertThat(al.getAndDelete()).isEqualTo(10.34);
        assertThat(al.isExists()).isFalse();

        RAtomicDouble ad2 = redisson.getAtomicDouble("test2");
        assertThat(ad2.getAndDelete()).isZero();
    }