org.pentaho.reporting.engine.classic.core.cache
Class InMemoryDataCache
java.lang.Object
org.pentaho.reporting.engine.classic.core.cache.InMemoryDataCache
- All Implemented Interfaces:
- DataCache
public class InMemoryDataCache
- extends Object
- implements DataCache
The simplest of all caches systems. A plain map holding all elements.
- Author:
- Thomas Morgner.
InMemoryDataCache
public InMemoryDataCache()
InMemoryDataCache
public InMemoryDataCache(int maximumEntries,
int maximumRows)
getMaximumEntries
public int getMaximumEntries()
getMaximumRows
public int getMaximumRows()
get
public TableModel get(DataCacheKey key)
- Specified by:
get
in interface DataCache
put
public TableModel put(DataCacheKey key,
TableModel model)
- Specified by:
put
in interface DataCache
getCacheManager
public DataCacheManager getCacheManager()
- Specified by:
getCacheManager
in interface DataCache