public class TimeoutTrackerMap<K,V> extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TimeoutTrackerMap.ItemData<K,V> |
| Constructor and Description |
|---|
TimeoutTrackerMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(K key,
V item,
float time) |
void |
add(K key,
V item,
float time,
float limit) |
void |
advance(float amount) |
void |
clear() |
boolean |
contains(K key) |
V |
getItem(K key) |
float |
getRemaining(K key) |
void |
remove(K key) |
void |
set(K key,
V item,
float time) |
public TimeoutTrackerMap()
public float getRemaining(K key)
public void clear()
public void advance(float amount)