|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pentaho.reporting.libraries.fonts.cache.FirstLevelFontCache
public class FirstLevelFontCache
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.
| Constructor Summary | |
|---|---|
FirstLevelFontCache(FontCache secondLevelCache)
|
|
| Method Summary | |
|---|---|
void |
commit()
|
FontMetrics |
getFontMetrics(FontKey fontKey)
|
void |
putFontMetrics(FontKey key,
FontMetrics fontMetrics)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FirstLevelFontCache(FontCache secondLevelCache)
| Method Detail |
|---|
public FontMetrics getFontMetrics(FontKey fontKey)
getFontMetrics in interface FontCache
public void putFontMetrics(FontKey key,
FontMetrics fontMetrics)
putFontMetrics in interface FontCachepublic void commit()
commit in interface FontCache
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||