Package org.pentaho.reporting.engine.classic.core.cache

Examples of org.pentaho.reporting.engine.classic.core.cache.DataCacheKey


public class CacheKillingTest extends TestCase
{
  public void testKillCacheAndSurvive()
  {
    EhCacheDataCache dataCache = new EhCacheDataCache();
    DataCacheKey key = new DataCacheKey();
    key.addAttribute("Test", "test");
    dataCache.put(key, new DefaultTableModel());

    final CacheManager cacheManager = CacheManager.getInstance();
    // Note: EHCacheProvider will dynamically create these
    // caches if they don't exist.
View Full Code Here


  }

  public void testKillCacheWithoutShutdownAndSurvive()
  {
    EhCacheDataCache dataCache = new EhCacheDataCache();
    DataCacheKey key = new DataCacheKey();
    key.addAttribute("Test", "test");
    dataCache.put(key, new DefaultTableModel());

    final CacheManager cacheManager = CacheManager.getInstance();
    // Note: EHCacheProvider will dynamically create these
    // caches if they don't exist.
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.cache.DataCacheKey

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.