@Override
    public CompletionStage<V> putAsync(K key, V value) {
        return cache.getAndPutAsync(key, value);
    }
@Test(expected = MethodNotAvailableException.class)
    public void testPutAsyncWithTtl() {
        adapter.putAsync(42, "value", 1, TimeUnit.MILLISECONDS);
    }