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

All Superinterfaces:
ICache<K,V>
All Known Implementing Classes:
AbstractDateSensitiveCache

public interface IDateSensitiveCache<K,V>
extends ICache<K,V>


Method Summary
<E> Collection<E>
distictSetValuesForDate(Date effectiveDate, Enum<?> setExtractMethodName)
          Returns the a set of distinct values returned form the 'extractMethodName'-method which it self extracts a collection of objects only for the given date.
<E> Collection<E>
distictValuesForDate(Date effectiveDate, Enum<?> extractMethodName)
          Returns the a set of distinct values returned form the 'extractMethodName'-method on objects only for the given date.
 void evictDay(Date effectiveDate)
           
 void evictDaysOlderOrEquals(Date effectiveDate)
           
 Date getEarliestEffectiveDate()
           
 com.tangosol.util.ValueExtractor getEffectiveDateExtractor()
           
 com.tangosol.util.Filter getEffectiveDateFilter(Date effectiveDate)
           
 Collection<Date> getEffectiveDates()
           
 Collection<K> getKeysForDate(Date effectiveDate)
           
 Date getLatestEffectiveDate()
           
 SortedSet<Date> getSortedEffectiveDates()
           
 Collection<V> getValuesForDate(Date effectiveDate)
           
 
Methods inherited from interface org.gridvise.coherence.cache.entity.ICache
addIndex, addMapListener, addMapListener, addMapListener, addMapListener, addMapListener, aggregate, aggregate, clear, distictSetValues, distictSetValues, distictSetValues, distictValues, distictValues, distictValues, distictValues, distictValues, distictValues, distictValues, entrySet, get, getAll, getCache, invoke, invokeAll, keySet, put, putAll, remove, remove, remove, removeMapListener, removeMapListener, removeMapListener, size, values, values
 

Method Detail

evictDaysOlderOrEquals

void evictDaysOlderOrEquals(Date effectiveDate)

evictDay

void evictDay(Date effectiveDate)

getEffectiveDateExtractor

com.tangosol.util.ValueExtractor getEffectiveDateExtractor()

getEffectiveDateFilter

com.tangosol.util.Filter getEffectiveDateFilter(Date effectiveDate)

getValuesForDate

Collection<V> getValuesForDate(Date effectiveDate)

getKeysForDate

Collection<K> getKeysForDate(Date effectiveDate)

getLatestEffectiveDate

Date getLatestEffectiveDate()

getEarliestEffectiveDate

Date getEarliestEffectiveDate()

getSortedEffectiveDates

SortedSet<Date> getSortedEffectiveDates()

getEffectiveDates

Collection<Date> getEffectiveDates()

distictValuesForDate

<E> Collection<E> distictValuesForDate(Date effectiveDate,
                                       Enum<?> extractMethodName)
Returns the a set of distinct values returned form the 'extractMethodName'-method on objects only for the given date.

Parameters:
filter -
extractMethodName -
Returns:

distictSetValuesForDate

<E> Collection<E> distictSetValuesForDate(Date effectiveDate,
                                          Enum<?> setExtractMethodName)
Returns the a set of distinct values returned form the 'extractMethodName'-method which it self extracts a collection of objects only for the given date.

Parameters:
filter -
extractMethodName -
Returns:


Copyright © 2013. All Rights Reserved.