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(CamelContext camelContext) |
MethodInfoCache(CamelContext camelContext,
int classCacheSize,
int methodCacheSize) |
MethodInfoCache(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(CamelContext camelContext)
public MethodInfoCache(CamelContext camelContext, int classCacheSize, int methodCacheSize)
public MethodInfoCache(CamelContext camelContext, Map<Class<?>,BeanInfo> classCache, Map<Method,MethodInfo> methodCache)
public MethodInfo getMethodInfo(Method method)
protected MethodInfo createMethodInfo(Method method)
protected BeanInfo getBeanInfo(Class<?> declaringClass)
protected BeanInfo createBeanInfo(Class<?> declaringClass)
protected static <K,V> Map<K,V> createLruCache(int size)
Apache Camel