|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.compoundtheory.objectcache.CacheConfig
public class CacheConfig
The Config querying service, for looking for specific configurations for specific classes
| Constructor Summary | |
|---|---|
CacheConfig()
|
|
CacheConfig(Config config)
Constructor that takes the default config |
|
| Method Summary | |
|---|---|
void |
addConfig(java.lang.String clazz,
Config config)
Add another config to this mechanism for lookup |
Config |
getConfig(java.lang.String clazz)
Gets a config for a class, if it can't be found, returns the default one |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheConfig()
public CacheConfig(Config config)
config - | Method Detail |
|---|
public void addConfig(java.lang.String clazz,
Config config)
clazz - the class to apply this config toconfig - the Config you want to setpublic Config getConfig(java.lang.String clazz)
clazz - The class to look for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||