public abstract class AbstractDateSensitiveCache<K,V> extends AbstractCache<K,V> implements IDateSensitiveCache<K,V>
PRESENT_FILTER| Constructor and Description |
|---|
AbstractDateSensitiveCache() |
AbstractDateSensitiveCache(boolean keyBased) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addIndexes(com.tangosol.net.NamedCache namedCache) |
<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) |
Set<Date> |
getEffectiveDates() |
Collection<K> |
getKeysForDate(Date effectiveDate) |
Date |
getLatestEffectiveDate() |
SortedSet<Date> |
getSortedEffectiveDates() |
Collection<V> |
getValuesForDate(Date effectiveDate) |
addIndex, addIndex, addMapListener, addMapListener, addMapListener, addMapListener, addMapListener, aggregate, aggregate, clear, clearCache, distictSetValues, distictSetValues, distictSetValues, distictSetValues, distictSetValues, distictValues, distictValues, distictValues, distictValues, distictValues, distictValues, distictValues, entrySet, get, getAll, getCache, getCacheName, invoke, invokeAll, keySet, put, putAll, remove, remove, remove, removeMapListener, removeMapListener, removeMapListener, size, values, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddIndex, 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, valuespublic AbstractDateSensitiveCache()
public AbstractDateSensitiveCache(boolean keyBased)
public void evictDaysOlderOrEquals(Date effectiveDate)
evictDaysOlderOrEquals in interface IDateSensitiveCache<K,V>public com.tangosol.util.ValueExtractor getEffectiveDateExtractor()
getEffectiveDateExtractor in interface IDateSensitiveCache<K,V>public com.tangosol.util.Filter getEffectiveDateFilter(Date effectiveDate)
getEffectiveDateFilter in interface IDateSensitiveCache<K,V>public void evictDay(Date effectiveDate)
evictDay in interface IDateSensitiveCache<K,V>public Collection<V> getValuesForDate(Date effectiveDate)
getValuesForDate in interface IDateSensitiveCache<K,V>public Collection<K> getKeysForDate(Date effectiveDate)
getKeysForDate in interface IDateSensitiveCache<K,V>public Date getLatestEffectiveDate()
getLatestEffectiveDate in interface IDateSensitiveCache<K,V>public Date getEarliestEffectiveDate()
getEarliestEffectiveDate in interface IDateSensitiveCache<K,V>public SortedSet<Date> getSortedEffectiveDates()
getSortedEffectiveDates in interface IDateSensitiveCache<K,V>public Set<Date> getEffectiveDates()
getEffectiveDates in interface IDateSensitiveCache<K,V>protected void addIndexes(com.tangosol.net.NamedCache namedCache)
addIndexes in class AbstractCache<K,V>public <E> Collection<E> distictValuesForDate(Date effectiveDate, Enum<?> extractMethodName)
IDateSensitiveCachedistictValuesForDate in interface IDateSensitiveCache<K,V>public <E> Collection<E> distictSetValuesForDate(Date effectiveDate, Enum<?> setExtractMethodName)
IDateSensitiveCachedistictSetValuesForDate in interface IDateSensitiveCache<K,V>Copyright © 2013. All Rights Reserved.