Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.hazelcast.util;
- import com.hazelcast.core.IMap;
- import java.util.concurrent.Future;
- import java.util.concurrent.TimeUnit;
- /**
- * An extension of IMap to add putAsync with TTL.
- */
- public interface AsyncTtlIMap<K, V> extends IMap<K, V> {
- Future<V> putAsync(K key, V value, long ttl, TimeUnit timeunit);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement