Package org.pentaho.reporting.libraries.base.util

Examples of org.pentaho.reporting.libraries.base.util.LFUMap


  private LFUMap cache;

  public BoxDefinitionFactory()
  {
    this.cache = new LFUMap(500);
  }
View Full Code Here


  public StyleBuilder()
  {
    this.lineSeparator = StringUtils.getLineSeparator();
    this.styles = new LinkedMap(1024, 0.75f);
    this.cachedBorderStyle = new LFUMap(30);
    this.buffer = new StringBuffer(100);

    if ("true".equals(ClassicEngineBoot.getInstance().getGlobalConfig().getConfigProperty
        ("org.pentaho.reporting.engine.classic.core.modules.output.table.html.SafariLengthHack")))
    {
View Full Code Here

    if (resourceManager == null)
    {
      throw new NullPointerException();
    }

    this.imageCache = new LFUMap(50);
    this.resourceManager = resourceManager;
    this.metaData = metaData;
    this.out = out;
    this.config = metaData.getConfiguration();
  }
View Full Code Here

        "org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.AssumeOverflowY")))
    {
      addFeature(OutputProcessorFeature.ASSUME_OVERFLOW_Y);
    }

    normalizedFontNameCache = new LFUMap(500);
  }
View Full Code Here

    this.fontStorage = fontStorage;
    this.booleanFeatures = new HashSet();
    this.numericFeatures = new HashMap();
    this.reusableFontContext = new ReusableFontContext();
    this.fontMetricsCache = new HashMap(); // needs to be a strong reference ..
    this.baselinesCache = new LFUMap(200);
    this.lookupKey = new FontMetricsKey();
    this.fontMetricsByStyleCache = new LFUMap(200);

    final ExtendedConfiguration extendedConfig = new ExtendedConfigurationWrapper(configuration);

    final double defaultFontSize = extendedConfig.getIntProperty(
        "org.pentaho.reporting.engine.classic.core.layout.defaults.FontSize", 12);
View Full Code Here

    {
      throw new NullPointerException();
    }

    this.resourceManager = resourceManager;
    this.cachedImages = new LFUMap(100);
  }
View Full Code Here

  private LFUMap expressionsCache;


  public WizardOverrideFormattingFunction()
  {
    expressionsCache = new LFUMap(500);
  }
View Full Code Here


  public Expression getInstance()
  {
    final WizardOverrideFormattingFunction eval = (WizardOverrideFormattingFunction) super.getInstance();
    eval.expressionsCache = new LFUMap(500);
    return eval;
  }
View Full Code Here

  private TimeZone timeZone;

  public LibLoaderResourceBundleFactory()
  {
    this.failedLoads = new HashSet();
    this.successfulLoads = new LFUMap(30);
  }
View Full Code Here

  private void readObject(final ObjectInputStream stream)
      throws IOException, ClassNotFoundException
  {
    stream.defaultReadObject();
    failedLoads = new HashSet();
    successfulLoads = new LFUMap(30);
  }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.libraries.base.util.LFUMap

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.