class ExpiringCacheMap {

    public synchronized Set<K> keys() {
        final Set<K> keys = new LinkedHashSet<>();
        for (final K key : items.keySet()) {
            keys.add(key);
        }
        return keys;
    }

    public  ExpiringCacheMap(Duration expiry);
    public  ExpiringCacheMap(long expiry);

}