摘要:
Hashmap: static final int DEFAULT_INITIAL_CAPACITY = 1 << 4; //默认容量 static final int MAXIMUM_CAPACITY = 1 << 30; //最大容量 static final float DEFAULT_LOA 阅读全文
摘要:
依赖查找: BeanFactory beanFactory = new ClassPathXmlApplicationContext("basic_di/inject-set.xml"); Person person = beanFactory.getBean(Person.class); 根据ty 阅读全文
摘要:
随机负载均衡 public class RandomLoadBalance extends AbstractLoadBalance { private final Random random = new Random(); protected <T> Invoker<T> doSelect(List 阅读全文