Class FirstLevelFontCache
java.lang.Object
org.pentaho.reporting.libraries.fonts.cache.FirstLevelFontCache
- All Implemented Interfaces:
FontCache
The first level font cache is always a perfect cache. It holds all fonts used by the current storage in memory. Once
finished, the cache-contents are pushed downwards into the second level cache.
- Author:
- : Thomas Morgner
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
commit()
getFontMetrics
(FontKey fontKey) void
putFontMetrics
(FontKey key, FontMetrics fontMetrics)
-
Constructor Details
-
FirstLevelFontCache
-
-
Method Details
-
getFontMetrics
- Specified by:
getFontMetrics
in interfaceFontCache
-
putFontMetrics
- Specified by:
putFontMetrics
in interfaceFontCache
-
commit
public void commit()
-