@Override
    public boolean trySet(V value) {
        return get(trySetAsync(value));
    }
@Test
    public void testTrySet() {
        RJsonBucket<TestType> al = redisson.getJsonBucket("test", new JacksonCodec<>(TestType.class));
        TestType t = new TestType();
        t.setName("name1");

        al.set(t);

        NestedType nt = new NestedType();
        nt.setValue(123);
        nt.setValues(Arrays.asList("t1", "t2"));
        al.set("$.type", nt);

        NestedType nt2 = new NestedType();
        nt2.setValue(124);
        nt2.setValues(Arrays.asList("t4", "t3"));
        assertThat(al.setIfAbsent("$.type", nt2)).isFalse();
        assertThat(al.setIfAbsent("type", nt2)).isFalse();

        Integer n2 = al.get(new JacksonCodec<>(Integer.class), "type.value");
        assertThat(n2).isEqualTo(123);
    }