private class GenericCacheThreadsave.Index<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
private Map<Object,ReferenceSet<T>> |
indexMap |
| Modifier | Constructor and Description |
|---|---|
private |
GenericCacheThreadsave.Index() |
| Modifier and Type | Method and Description |
|---|---|
Collection<T> |
get(Object key) |
Collection<T> |
getAllValues() |
void |
put(Object key,
T value) |
void |
putSingleOrMultiple(Object key,
T value)
Puts the cacheable object to the index-map.
|
void |
remove(Object key,
T value) |
private final Map<Object,ReferenceSet<T>> indexMap
public void putSingleOrMultiple(Object key, T value)
key - keyvalue - valuepublic Collection<T> get(Object key)
public Collection<T> getAllValues()
Copyright © 2013 RapidPM. All rights reserved.