public final class EdenConcurrentCache<K,V>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
DEFAULT_SIZE |
| Constructor and Description |
|---|
EdenConcurrentCache() |
EdenConcurrentCache(int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
edenSize() |
V |
get(K k) |
int |
getMaxSize() |
int |
longtermSize() |
boolean |
put(K k,
V v)
put data with key and value
if read max data size then return true ,either return false.
|
public final int DEFAULT_SIZE
public EdenConcurrentCache()
public EdenConcurrentCache(int size)