public class MethodInfoCache extends Object
MethodInfo
objects to avoid the expense of introspection for each
invocation of a method via a proxy.Constructor and Description |
---|
MethodInfoCache(org.apache.camel.CamelContext camelContext) |
MethodInfoCache(org.apache.camel.CamelContext camelContext,
int classCacheSize,
int methodCacheSize) |
MethodInfoCache(org.apache.camel.CamelContext camelContext,
Map<Class<?>,BeanInfo> classCache,
Map<Method,MethodInfo> methodCache) |
Modifier and Type | Method and Description |
---|---|
protected BeanInfo |
createBeanInfo(Class<?> declaringClass) |
protected static <K,V> Map<K,V> |
createLruCache(int size) |
protected MethodInfo |
createMethodInfo(Method method) |
protected BeanInfo |
getBeanInfo(Class<?> declaringClass) |
MethodInfo |
getMethodInfo(Method method) |
public MethodInfoCache(org.apache.camel.CamelContext camelContext)
public MethodInfoCache(org.apache.camel.CamelContext camelContext, int classCacheSize, int methodCacheSize)
public MethodInfo getMethodInfo(Method method)
protected MethodInfo createMethodInfo(Method method)
protected static <K,V> Map<K,V> createLruCache(int size)
Apache Camel