Class LeastFrequentlyUsedCache
java.lang.Object
org.pentaho.reporting.libraries.fonts.cache.LeastFrequentlyUsedCache
- All Implemented Interfaces:
FontCache
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
commit()
getFontMetrics
(FontKey fontKey) void
putFontMetrics
(FontKey key, FontMetrics metrics)
-
Constructor Details
-
LeastFrequentlyUsedCache
public LeastFrequentlyUsedCache(int cacheSize)
-
-
Method Details
-
getFontMetrics
- Specified by:
getFontMetrics
in interfaceFontCache
-
putFontMetrics
- Specified by:
putFontMetrics
in interfaceFontCache
-
commit
public void commit()
-