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

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


  {
    putValue(Action.NAME, ActionMessages.getString("ClearDataCacheAction.Text"));
    putValue(Action.SHORT_DESCRIPTION, ActionMessages.getString("ClearDataCacheAction.Description"));
    putValue(Action.MNEMONIC_KEY, ActionMessages.getOptionalMnemonic("ClearDataCacheAction.Mnemonic"));
    putValue(Action.ACCELERATOR_KEY, ActionMessages.getOptionalKeyStroke("ClearDataCacheAction.Accelerator"));
    final DataCache cache = DataCacheFactory.getCache();
    if (cache == null)
    {
      setEnabled(false);
    }
  }
View Full Code Here


    }
  }

  public void actionPerformed(final ActionEvent e)
  {
    final DataCache cache = DataCacheFactory.getCache();
    if (cache == null)
    {
      return;
    }
    final DataCacheManager cacheManager = cache.getCacheManager();
    if (cacheManager == null)
    {
      return;
    }
    cacheManager.clearAll();
View Full Code Here

TOP

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

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.