|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.cache.spring.BeanNameTypeCache
public class BeanNameTypeCache
A caching class used to improve the startup speed of Confluence, it has also shown improvements to systems under load.
Constructor Summary | |
---|---|
BeanNameTypeCache()
|
Method Summary | |
---|---|
void |
clearCache()
Clears the cache. |
BeanNameCacheResult |
get(java.lang.Class type,
boolean includeNonSingletons,
boolean allowEagerInit)
Get the value stored against the key made of the parameters passed. |
BeanNameCacheResult |
put(java.lang.Class type,
boolean includeNonSingletons,
boolean allowEagerInit,
java.lang.String[] value)
Put a new value into the cache. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanNameTypeCache()
Method Detail |
---|
public BeanNameCacheResult put(java.lang.Class type, boolean includeNonSingletons, boolean allowEagerInit, java.lang.String[] value)
type
- used as a composite key.includeNonSingletons
- used as a composite key.allowEagerInit
- used as a composite key.value
- value to store against the key, can be null.
public BeanNameCacheResult get(java.lang.Class type, boolean includeNonSingletons, boolean allowEagerInit)
type
- used as a composite key.includeNonSingletons
- used as a composite key.allowEagerInit
- used as a composite key.
public void clearCache()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |