Class MethodInfoCache


  • public class MethodInfoCache
    extends Object
    Represents a cache of MethodInfo objects to avoid the expense of introspection for each invocation of a method via a proxy.
    • Constructor Detail

      • MethodInfoCache

        public MethodInfoCache​(org.apache.camel.CamelContext camelContext)
      • MethodInfoCache

        public MethodInfoCache​(org.apache.camel.CamelContext camelContext,
                               int classCacheSize,
                               int methodCacheSize)
    • Method Detail

      • getBeanInfo

        protected BeanInfo getBeanInfo​(Class<?> declaringClass)
      • createBeanInfo

        protected BeanInfo createBeanInfo​(Class<?> declaringClass)
      • createLruCache

        protected static <K,​V> Map<K,​V> createLruCache​(int size)