@Override
    public boolean fastPutIfAbsent(K key, V value, Duration ttl) {
        return get(fastPutIfAbsentAsync(key, value, ttl));
    }
@Test
    public void testFastPutIfAbsentWithTTL() throws Exception {
        RMapCacheNative<SimpleKey, SimpleValue> map = redisson.getMapCacheNative("simpleTTL");
        SimpleKey key = new SimpleKey("1");
        SimpleValue value = new SimpleValue("2");
        map.fastPutIfAbsent(key, value, Duration.ofSeconds(1));
        assertThat(map.fastPutIfAbsent(key, new SimpleValue("3"), Duration.ofSeconds(1))).isFalse();
        assertThat(map.get(key)).isEqualTo(value);
        
        Thread.sleep(1100);
        
        assertThat(map.fastPutIfAbsent(key, new SimpleValue("3"), Duration.ofSeconds(1))).isTrue();
        assertThat(map.get(key)).isEqualTo(new SimpleValue("3"));
        
        assertThat(map.fastPutIfAbsent(key, new SimpleValue("4"), Duration.ofSeconds(1))).isFalse();
        assertThat(map.get(key)).isEqualTo(new SimpleValue("3"));
        
        Thread.sleep(1100);
        assertThat(map.fastPutIfAbsent(key, new SimpleValue("4"), Duration.ofSeconds(1))).isTrue();
        map.destroy();
    }