org.pentaho.reporting.engine.classic.core.cache
Class EhCacheDataCache

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.cache.EhCacheDataCache
All Implemented Interfaces:
DataCache

public class EhCacheDataCache
extends Object
implements DataCache

The simplest of all caches systems. A plain map holding all elements.

Author:
Thomas Morgner.

Constructor Summary
EhCacheDataCache()
           
EhCacheDataCache(int maximumRows)
           
 
Method Summary
 TableModel get(DataCacheKey key)
           
 DataCacheManager getCacheManager()
           
 int getMaximumRows()
           
 TableModel put(DataCacheKey key, TableModel model)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EhCacheDataCache

public EhCacheDataCache()

EhCacheDataCache

public EhCacheDataCache(int maximumRows)
Method Detail

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