@Override
    public V put(K key, V value, Duration ttl) {
        return get(putAsync(key, value, ttl));
    }
@Test
    public void testExpiredIterator() throws InterruptedException {
        RMapCacheNative<String, String> cache = redisson.getMapCacheNative("simple");
        cache.put("0", "8");
        cache.put("1", "6", Duration.ofSeconds(1));
        cache.put("2", "4", Duration.ofSeconds(3));
        cache.put("3", "2", Duration.ofSeconds(4));
        cache.put("4", "4", Duration.ofSeconds(1));

        Thread.sleep(1000);

        assertThat(cache.keySet()).containsOnly("0", "2", "3");
        cache.destroy();
    }