public class DataExchange<K,V> extends Object
Constructor and Description |
---|
DataExchange(com.edorasware.commons.core.time.TimeProvider timeProvider) |
Modifier and Type | Method and Description |
---|---|
boolean |
isEmpty() |
boolean |
put(K key,
V value) |
V |
retrieve(K key,
long time,
TimeUnit timeUnit) |
public DataExchange(com.edorasware.commons.core.time.TimeProvider timeProvider)
public V retrieve(K key, long time, TimeUnit timeUnit) throws InterruptedException
InterruptedException
public boolean isEmpty()
Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.