public abstract class AbstractCache<K,V> extends Object implements ICache<K,V>
| Modifier and Type | Field and Description |
|---|---|
protected static com.tangosol.util.Filter |
PRESENT_FILTER |
| Constructor and Description |
|---|
AbstractCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
addIndex(com.tangosol.util.ValueExtractor valueExtractor) |
protected void |
addIndex(com.tangosol.util.ValueExtractor valueExtractor,
com.tangosol.net.NamedCache cache) |
protected abstract void |
addIndexes(com.tangosol.net.NamedCache namedCache) |
void |
addMapListener(com.tangosol.util.MapListener mapListener) |
void |
addMapListener(com.tangosol.util.MapListener mapListener,
com.tangosol.util.Filter filter) |
void |
addMapListener(com.tangosol.util.MapListener mapListener,
com.tangosol.util.Filter filter,
boolean lite) |
void |
addMapListener(com.tangosol.util.MapListener mapListener,
K key) |
void |
addMapListener(com.tangosol.util.MapListener mapListener,
K key,
boolean lite) |
Object |
aggregate(Collection<K> keys,
com.tangosol.util.InvocableMap.EntryAggregator aggregator) |
Object |
aggregate(com.tangosol.util.Filter filter,
com.tangosol.util.InvocableMap.EntryAggregator aggregator) |
void |
clear() |
void |
clearCache() |
<E> Collection<E> |
distictSetValues(Collection<K> keys,
Enum<?> setExtractMethodName)
Returns the a set of distinct values returned form the
'extractMethodName'-method which it self extracts a collection of objects
addressed by the keys.
|
<G,E> Map<G,Collection<E>> |
distictSetValues(Collection<K> keys,
Enum<?> setExtractMethodName,
Enum<?> groupByExtractMethodName) |
<E> Collection<E> |
distictSetValues(com.tangosol.util.Filter filter,
Enum<?> setExtractMethodName)
Returns the a set of distinct values returned form the
'extractMethodName'-method which it self extracts a collection of objects
addressed by the filter.
|
<G,E> Map<G,Collection<E>> |
distictSetValues(com.tangosol.util.Filter filter,
Enum<?> setExtractMethodName,
Enum<?> groupByExtractMethodName) |
<E> Collection<E> |
distictSetValues(com.tangosol.util.Filter filter,
com.tangosol.util.ValueExtractor valueExtractor) |
<E> Collection<E> |
distictValues(Collection<K> keys,
Enum<?> extractMethodName)
Returns the a set of distinct values returned form the
'extractMethodName'-method on objects addressed by the keys.
|
<G,E> Map<G,Collection<E>> |
distictValues(Collection<K> keys,
Enum<?> extractMethodName,
Enum<?> groupByExtractMethodName) |
<E> Collection<E> |
distictValues(Collection<K> keys,
String extractMethodName) |
<E> Collection<E> |
distictValues(com.tangosol.util.Filter filter,
Enum<?> extractMethodName)
Returns the a set of distinct values returned form the
'extractMethodName'-method on objects addressed by the filter.
|
<G,E> Map<G,Collection<E>> |
distictValues(com.tangosol.util.Filter filter,
Enum<?> extractMethodName,
Enum<?> groupByExtractMethodName) |
<E> Collection<E> |
distictValues(com.tangosol.util.Filter filter,
com.tangosol.util.ValueExtractor valueExtractor)
Returns the a set of distinct values returned form the valueExtractor
executed on objects addressed by the filter.
|
<E> Collection<E> |
distictValues(com.tangosol.util.ValueExtractor valueExtractor)
Returns the a set of distinct values returned form the extractor for all
entries in the cache
|
Collection<Map.Entry<K,V>> |
entrySet(com.tangosol.util.Filter filter) |
V |
get(K key) |
Map<K,V> |
getAll(Collection<K> keys) |
com.tangosol.net.NamedCache |
getCache() |
abstract String |
getCacheName() |
Object |
invoke(K key,
com.tangosol.util.InvocableMap.EntryProcessor entryprocessor) |
Map<K,?> |
invokeAll(Collection<K> keys,
com.tangosol.util.InvocableMap.EntryProcessor entryprocessor) |
Set<K> |
keySet(com.tangosol.util.Filter filter) |
void |
put(K key,
V value) |
void |
putAll(Map<K,V> map) |
void |
remove(Collection<K> keys) |
void |
remove(com.tangosol.util.Filter filter) |
void |
remove(K key) |
void |
removeMapListener(com.tangosol.util.MapListener mapListener) |
void |
removeMapListener(com.tangosol.util.MapListener mapListener,
com.tangosol.util.Filter filter) |
void |
removeMapListener(com.tangosol.util.MapListener mapListener,
K key) |
int |
size() |
Collection<V> |
values() |
Map<K,V> |
values(com.tangosol.util.Filter filter) |
public abstract String getCacheName()
protected abstract void addIndexes(com.tangosol.net.NamedCache namedCache)
public void addIndex(com.tangosol.util.ValueExtractor valueExtractor)
public void addMapListener(com.tangosol.util.MapListener mapListener)
addMapListener in interface ICache<K,V>public void addMapListener(com.tangosol.util.MapListener mapListener,
com.tangosol.util.Filter filter,
boolean lite)
addMapListener in interface ICache<K,V>public void addMapListener(com.tangosol.util.MapListener mapListener,
K key,
boolean lite)
addMapListener in interface ICache<K,V>public void addMapListener(com.tangosol.util.MapListener mapListener,
com.tangosol.util.Filter filter)
addMapListener in interface ICache<K,V>public void addMapListener(com.tangosol.util.MapListener mapListener,
K key)
addMapListener in interface ICache<K,V>public void removeMapListener(com.tangosol.util.MapListener mapListener)
removeMapListener in interface ICache<K,V>public void removeMapListener(com.tangosol.util.MapListener mapListener,
K key)
removeMapListener in interface ICache<K,V>public void removeMapListener(com.tangosol.util.MapListener mapListener,
com.tangosol.util.Filter filter)
removeMapListener in interface ICache<K,V>public void remove(com.tangosol.util.Filter filter)
public void clearCache()
public Collection<Map.Entry<K,V>> entrySet(com.tangosol.util.Filter filter)
public com.tangosol.net.NamedCache getCache()
public <E> Collection<E> distictValues(com.tangosol.util.ValueExtractor valueExtractor)
ICachedistictValues in interface ICache<K,V>public <E> Collection<E> distictValues(com.tangosol.util.Filter filter, Enum<?> extractMethodName)
ICachedistictValues in interface ICache<K,V>public <E> Collection<E> distictValues(com.tangosol.util.Filter filter, com.tangosol.util.ValueExtractor valueExtractor)
ICachedistictValues in interface ICache<K,V>public <E> Collection<E> distictSetValues(com.tangosol.util.Filter filter, Enum<?> setExtractMethodName)
ICachedistictSetValues in interface ICache<K,V>public <E> Collection<E> distictSetValues(com.tangosol.util.Filter filter, com.tangosol.util.ValueExtractor valueExtractor)
public <E> Collection<E> distictValues(Collection<K> keys, Enum<?> extractMethodName)
ICachedistictValues in interface ICache<K,V>public <E> Collection<E> distictValues(Collection<K> keys, String extractMethodName)
distictValues in interface ICache<K,V>public <E> Collection<E> distictSetValues(Collection<K> keys, Enum<?> setExtractMethodName)
ICachedistictSetValues in interface ICache<K,V>public <G,E> Map<G,Collection<E>> distictValues(com.tangosol.util.Filter filter, Enum<?> extractMethodName, Enum<?> groupByExtractMethodName)
distictValues in interface ICache<K,V>public <G,E> Map<G,Collection<E>> distictSetValues(com.tangosol.util.Filter filter, Enum<?> setExtractMethodName, Enum<?> groupByExtractMethodName)
distictSetValues in interface ICache<K,V>public <G,E> Map<G,Collection<E>> distictValues(Collection<K> keys, Enum<?> extractMethodName, Enum<?> groupByExtractMethodName)
distictValues in interface ICache<K,V>public <G,E> Map<G,Collection<E>> distictSetValues(Collection<K> keys, Enum<?> setExtractMethodName, Enum<?> groupByExtractMethodName)
protected void addIndex(com.tangosol.util.ValueExtractor valueExtractor,
com.tangosol.net.NamedCache cache)
public Map<K,?> invokeAll(Collection<K> keys, com.tangosol.util.InvocableMap.EntryProcessor entryprocessor)
public Object aggregate(Collection<K> keys, com.tangosol.util.InvocableMap.EntryAggregator aggregator)
Copyright © 2013. All Rights Reserved.