站在巨人的肩膀上搬砖

导航

 

2021年11月4日

摘要: Map<String, TraceDTO> filterTraceDTOMap = traceDTOList.stream() .collect(Collectors.collectingAndThen(Collectors.toCollection(() -> new TreeSet<>(Comp 阅读全文
posted @ 2021-11-04 13:13 站在巨人的肩膀上搬砖 阅读(44) 评论(0) 推荐(0)
 
摘要: // 排序 return dtoList.stream().sorted(Comparator.comparing(TracePlanDTO::getEndDate)).collect(Collectors.toList()); 阅读全文
posted @ 2021-11-04 13:11 站在巨人的肩膀上搬砖 阅读(19) 评论(0) 推荐(0)
 
摘要: dto.setBaseName(Optional.ofNullable(baseDO).map(it -> it.getBaseName()).orElse("")); 阅读全文
posted @ 2021-11-04 13:09 站在巨人的肩膀上搬砖 阅读(56) 评论(0) 推荐(0)
 
摘要: -Xloggc:gc.log -XX:+PrintGCTimeStamps -XX:+PrintGCDetails 阅读全文
posted @ 2021-11-04 13:07 站在巨人的肩膀上搬砖 阅读(48) 评论(0) 推荐(0)
 
摘要: 不带密码 vim jmxremote.access ##on linux monitorRole readonly controlRole readwrite 带密码 vim jmxremote.password ##on linux monitorRoleUser jmx controlRoleU 阅读全文
posted @ 2021-11-04 13:05 站在巨人的肩膀上搬砖 阅读(111) 评论(0) 推荐(0)
 
摘要: [root@dev-209 ~]# top -c top - 11:05:49 up 30 days, 23:21, 4 users, load average: 2.29, 2.23, 1.97 Tasks: 170 total, 3 running, 162 sleeping, 5 stoppe 阅读全文
posted @ 2021-11-04 13:03 站在巨人的肩膀上搬砖 阅读(153) 评论(0) 推荐(0)
 
摘要: ## 1. 首先显示线程列表 ps -mp ${pid} -o THREAD,tid,time ## 2. 其次将需要的线程ID转换为16进制格式: printf "%x\n" ${tid} ## 3. 最后打印线程的堆栈信息: jstack ${pid} |grep ${tid} -A 30 阅读全文
posted @ 2021-11-04 13:01 站在巨人的肩膀上搬砖 阅读(45) 评论(0) 推荐(0)
 
摘要: java @Log4j2 @Component public class Neo4jStore implements InitializingBean, DisposableBean{ private GraphDatabaseService graphDb; private final BoltC 阅读全文
posted @ 2021-11-04 12:57 站在巨人的肩膀上搬砖 阅读(45) 评论(0) 推荐(0)
 
摘要: Bean实体启动初始化顺序 Construct > @Autowired(依赖注入) > @postConstruct > InitializingBean 整体项目启动顺序 CommandLineRunner & ApplicationRunner > ApplicationListener 参考 阅读全文
posted @ 2021-11-04 12:28 站在巨人的肩膀上搬砖 阅读(68) 评论(0) 推荐(0)
 
摘要: java @Component @Order(value = 1) public class RoleStartRunner implements CommandLineRunner { private static AppDataProcessor processor = new AppDataP 阅读全文
posted @ 2021-11-04 11:58 站在巨人的肩膀上搬砖 阅读(174) 评论(0) 推荐(0)