aware

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial AwareBeanNameAwarebeanNameAware可以获得容器中Bean的名称,作用于每一个Bean。当bean被创建的时候设置他的名字,在基本properties填充完成以后,init调用前执行 摘自: spring-beans:5.3.4 org.springframework.beans.factory.BeanNameAware Set the name of the bean in the bean factory that created this bean. Invoked after population of normal bean properties but before an init callback such as {@link InitializingBean#afterPropertiesSet()} or a custom init-method. 123456789101112package com.example.demo;import org.springframework.beans.factory.BeanNameAware;import org.springframework.stereotype.Component;@Componentpublic class BeanNameAwareDemo implements BeanNameAware { @Override public void setBeanName(String name) { System.out.println(name); }}     阅读全文
fightinggg's avatar
fightinggg 11月 03, 2020

feign

    阅读全文
fightinggg's avatar
fightinggg 11月 01, 2020

webFlux

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial Spring Boot Starter Webflux     阅读全文
fightinggg's avatar
fightinggg 10月 30, 2020

ratelimiter

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial GuavaRateLimiter1234567891011121314151617RateLimiter rateLimiter = RateLimiter.create(10);for (int i = 0; i < 20; i++) { int finalI = i; new Thread(new Runnable() { @Override public void run() { int cnt = 0; while (true) { if (rateLimiter.tryAcquire()) { cnt++; System.out.println("thread: " + finalI + " cnt: " + cnt); } } } }).start();}Thread.sleep(1000 * 100 * 1000);     阅读全文
fightinggg's avatar
fightinggg 10月 25, 2020

深入浅出HTTPS从原理到实战

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial 深入浅出HTTPS从原理到实战     阅读全文
fightinggg's avatar
fightinggg 10月 15, 2020

docker

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial Docker常见参数资源限制12--cpus 0.8-m 800m 文件夹映射1-v /root/.m2:/root/.m2     阅读全文
fightinggg's avatar
fightinggg 10月 05, 2020

SSH

    阅读全文
fightinggg's avatar
fightinggg 9月 14, 2020

Linux

    阅读全文
fightinggg's avatar
fightinggg 9月 14, 2020

elasticSearch

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial Elasticsearch文档https://www.elastic.co/guide/en/elasticsearch/reference/current/elasticsearch-intro.html     阅读全文
fightinggg's avatar
fightinggg 9月 03, 2020

Impala

nexthexonextbutterflyvolantisyearnyiliashokaindigoapollolandscapecactusmateryicarusfluidmaterial Impalaimpala提供对HDFS、Hbase数据的高性能、低延迟的交互式SQL查询功能。基于Hive使用内存计算,兼顾数据仓库、具有实时、批处理、多并发等优点。     阅读全文
fightinggg's avatar
fightinggg 8月 30, 2020