public final class IntrospectorCacheImpl extends Object implements IntrospectorCache
Modifier and Type | Field and Description |
---|---|
static String |
CACHEDUMP_MSG
define a public string so that it can be looked for if interested
|
Constructor and Description |
---|
IntrospectorCacheImpl(Log log)
C'tor
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the internal cache.
|
ClassMap |
get(Class c)
Lookup a given Class object in the cache.
|
ClassMap |
put(Class c)
Creates a class map for specific class and registers it in the
cache.
|
public static final String CACHEDUMP_MSG
public IntrospectorCacheImpl(Log log)
public void clear()
clear
in interface IntrospectorCache
public ClassMap get(Class c)
get
in interface IntrospectorCache
c
- The class to look up.public ClassMap put(Class c)
put
in interface IntrospectorCache
c
- The class for which the class map gets generated.Copyright © 2000–2016. All rights reserved.