上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.Re 阅读全文
posted @ 2023-02-13 14:11 BigOrang 阅读(74) 评论(0) 推荐(0)
摘要: 3.x 版本 https://help.sonatype.com/repomanager3/product-information/download#Download-NexusRepositoryManager2OSS 2.x 版本 https://help.sonatype.com/repoma 阅读全文
posted @ 2023-01-28 11:13 BigOrang 阅读(1555) 评论(0) 推荐(0)
摘要: Q : finally一定执行吗? A :只要进入了try代码块,没有直接断电,使用System.exit(0)退出程序,或者其他原因导致程序down掉. finnaly肯定会执行 Q : try finally 执行顺序 return的结果顺序 如果try和finally同时return。 最终是 阅读全文
posted @ 2022-09-11 13:06 BigOrang 阅读(79) 评论(0) 推荐(0)
摘要: 以下几种方法都可以 private <T> List<T> mergeOne(Stream<List<T>> listStream) { return listStream.flatMap(List::stream).collect(toList()); } private <T> List<T> 阅读全文
posted @ 2022-08-17 13:48 BigOrang 阅读(1584) 评论(0) 推荐(0)
摘要: 问题 访问nginx 502 Bad Gateway connect() failed (111: Connection refused)while connecting to upstream 可能的原因1 docker网络问题 docker nginx容器使用的bridge(默认),同时被转发的 阅读全文
posted @ 2022-01-25 16:11 BigOrang 阅读(1913) 评论(0) 推荐(1)
摘要: public static void main(String[] args) { try { ttt(); } catch (Exception e) { logger.error("err", e); } } public static void ttt() { try { ttt2(); } c 阅读全文
posted @ 2021-12-19 17:14 BigOrang 阅读(464) 评论(0) 推荐(0)
摘要: 转载自https://www.cnblogs.com/java-spring/p/13168807.html 剔除服务:OUT_OF_SERVICE http://192.168.1.117:8761/eureka/apps/JUPITER-SERVICE/DESKTOP-U4HQ9H5:jupit 阅读全文
posted @ 2021-09-22 16:00 BigOrang 阅读(101) 评论(0) 推荐(0)
摘要: 主要是查询使用的API Search 搜索结果的相关性 Precision(查准率)-尽可能返回较少的无关文档 Recall(查全率)-尽量返回较多的相关文档 Ranking-是否能够按照相关度进行排序? URI Search 在URL中使用查询参数 Reduest Body Search 使用El 阅读全文
posted @ 2020-09-14 15:06 BigOrang 阅读(203) 评论(0) 推荐(0)
摘要: SELECT * from pg_partition join pg_class on pg_class.oid = pg_partition.parentid where pg_class.relname = 'your_table' ORDER BY pg_partition.relname 阅读全文
posted @ 2020-09-01 13:36 BigOrang 阅读(1578) 评论(0) 推荐(0)
摘要: 先记录,再分析 class HelloB extends HelloA { public HelloB(String a) { System.out.println("Constructor B"); } static { System.out.println("static B"); } { Sy 阅读全文
posted @ 2020-08-24 16:34 BigOrang 阅读(108) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页