org.gridvise.coherence.cache.entity
Interface ICache<K,V>

All Known Subinterfaces:
IDateSensitiveCache<K,V>
All Known Implementing Classes:
AbstractCache, AbstractDateSensitiveCache

public interface ICache<K,V>


Method Summary
 void addIndex(com.tangosol.util.ValueExtractor valueExtractor)
           
 void addMapListener(com.tangosol.util.MapListener listener)
           
 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 lightweight)
           
 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()
           
<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.
<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>
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()
           
 Object invoke(K key, com.tangosol.util.InvocableMap.EntryProcessor invocable)
           
 Map<K,?> invokeAll(Collection<K> keys, com.tangosol.util.InvocableMap.EntryProcessor invocable)
           
 Collection<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 listener)
           
 void removeMapListener(com.tangosol.util.MapListener mapListener, com.tangosol.util.Filter filter)
           
 void removeMapListener(com.tangosol.util.MapListener listener, K key)
           
 int size()
           
 Collection<V> values()
           
 Map<K,V> values(com.tangosol.util.Filter filter)
           
 

Method Detail

getCache

com.tangosol.net.NamedCache getCache()

keySet

Collection<K> keySet(com.tangosol.util.Filter filter)

entrySet

Collection<Map.Entry<K,V>> entrySet(com.tangosol.util.Filter filter)

values

Map<K,V> values(com.tangosol.util.Filter filter)

values

Collection<V> values()

clear

void clear()

size

int size()

remove

void remove(Collection<K> keys)

remove

void remove(K key)

remove

void remove(com.tangosol.util.Filter filter)

get

V get(K key)

getAll

Map<K,V> getAll(Collection<K> keys)

put

void put(K key,
         V value)

putAll

void putAll(Map<K,V> map)

invoke

Object invoke(K key,
              com.tangosol.util.InvocableMap.EntryProcessor invocable)

invokeAll

Map<K,?> invokeAll(Collection<K> keys,
                   com.tangosol.util.InvocableMap.EntryProcessor invocable)

aggregate

Object aggregate(Collection<K> keys,
                 com.tangosol.util.InvocableMap.EntryAggregator aggregator)

aggregate

Object aggregate(com.tangosol.util.Filter filter,
                 com.tangosol.util.InvocableMap.EntryAggregator aggregator)

distictValues

<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

Parameters:
filter -
extractMethodName -
Returns:

distictValues

<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.

Parameters:
filter -
extractMethodName -
Returns:

distictValues

<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.

Parameters:
filter -
extractMethodName -
Returns:

distictSetValues

<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.

Type Parameters:
E -
Parameters:
filter -
extractMethodName -
Returns:

distictValues

<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.

Parameters:
filter -
extractMethodName -
Returns:

distictValues

<E> Collection<E> distictValues(Collection<K> keys,
                                String extractMethodName)

distictSetValues

<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.

Parameters:
filter -
extractMethodName -
Returns:

distictValues

<G,E> Map<G,Collection<E>> distictValues(com.tangosol.util.Filter filter,
                                         Enum<?> extractMethodName,
                                         Enum<?> groupByExtractMethodName)

distictSetValues

<G,E> Map<G,Collection<E>> distictSetValues(com.tangosol.util.Filter filter,
                                            Enum<?> setExtractMethodName,
                                            Enum<?> groupByExtractMethodName)

distictValues

<G,E> Map<G,Collection<E>> distictValues(Collection<K> keys,
                                         Enum<?> extractMethodName,
                                         Enum<?> groupByExtractMethodName)

addIndex

void addIndex(com.tangosol.util.ValueExtractor valueExtractor)

addMapListener

void addMapListener(com.tangosol.util.MapListener listener)

addMapListener

void addMapListener(com.tangosol.util.MapListener mapListener,
                    com.tangosol.util.Filter filter,
                    boolean lightweight)

addMapListener

void addMapListener(com.tangosol.util.MapListener mapListener,
                    com.tangosol.util.Filter filter)

addMapListener

void addMapListener(com.tangosol.util.MapListener mapListener,
                    K key,
                    boolean lite)

addMapListener

void addMapListener(com.tangosol.util.MapListener mapListener,
                    K key)

removeMapListener

void removeMapListener(com.tangosol.util.MapListener listener)

removeMapListener

void removeMapListener(com.tangosol.util.MapListener listener,
                       K key)

removeMapListener

void removeMapListener(com.tangosol.util.MapListener mapListener,
                       com.tangosol.util.Filter filter)


Copyright © 2013. All Rights Reserved.