上一页 1 2 3 4 5 6 7 ··· 70 下一页
摘要: 如何是要看jar包里面的class文件 可以直接使用arthas的jad命令 具体可以参考:https://www.cnblogs.com/pxblog/p/17679797.html 但是这个我找了下 没办法查看resources下的配置文件内容 所以这里整理了一个可以用的方法 最直接办法的 ja 阅读全文
posted @ 2024-12-01 16:44 yvioo 阅读(312) 评论(0) 推荐(0)
摘要: 修改某一个索引前缀的副本数量 PUT /索引名 或者索引前缀-*/_settings { "index": { "number_of_replicas": 1 } } 修改所有的索引副本 PUT /_all/_settings { "index": { "number_of_replicas": 1 阅读全文
posted @ 2024-10-16 19:41 yvioo 阅读(146) 评论(0) 推荐(0)
摘要: 有时候开发启动服务看到端口被占用,一查发现是QQ占用了 这是因为QQ有一些服务会判断是否当前端口有没有使用,没有的话会使用这个端口 这种情况的话 只需要先把QQ退出来 ,然后先启动服务,然后在启动QQ就好了 阅读全文
posted @ 2024-10-10 10:24 yvioo 阅读(478) 评论(0) 推荐(0)
摘要: 示例代码 public static void main(String[] args) { //标识最外层要跳出的位置 outer: for (int i = 0; i < 10; i++) { for (int j = 0; j < 10; j++) { System.out.println(j) 阅读全文
posted @ 2024-10-08 19:49 yvioo 阅读(118) 评论(0) 推荐(0)
摘要: 获取所有表名信息 select t.owner table_dbname,t.table_name, t.num_rows table_rows, s.bytes table_size from all_tables t left join dba_segments s on s.segment_n 阅读全文
posted @ 2024-10-02 22:49 yvioo 阅读(216) 评论(0) 推荐(0)
摘要: private static final String NETMASK = "(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)"; private static final Pattern IP_PATTERN = Pattern.compile("^(?:" + N 阅读全文
posted @ 2024-09-06 20:40 yvioo 阅读(238) 评论(0) 推荐(0)
摘要: IDEA启动SpringBoot项目报错 Error running 'XXXApplication' Error running XXXXApplication. Command line is too long. Shorten the command line via JAR manifest 阅读全文
posted @ 2024-08-29 20:23 yvioo 阅读(166) 评论(0) 推荐(0)
摘要: failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpected status code [manifests 7]: 403 Forbidden 修改配置 改为false 阅读全文
posted @ 2024-08-28 10:52 yvioo 阅读(612) 评论(0) 推荐(0)
摘要: 命令都是到kafka的bin目录底下 如果没有的话 就去官网下载一个包 地址:https://kafka.apache.org/downloads 消费含有账号密码的kafka 没有账号密码的话 就不需要后面那个配置文件了 ./kafka-console-consumer.sh --bootstra 阅读全文
posted @ 2024-08-26 10:00 yvioo 阅读(6) 评论(0) 推荐(0)
摘要: public static ThreadPoolExecutor executor=new ThreadPoolExecutor(5,5,5L, TimeUnit.SECONDS,new LinkedBlockingQueue<>(1000),new ThreadPoolExecutor.Calle 阅读全文
posted @ 2024-08-21 14:17 yvioo 阅读(26) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 70 下一页