上一页 1 ··· 61 62 63 64 65 66 67 68 69 ··· 232 下一页
摘要: netstat -anvp |grep 10001 查询端口的时候报错提示 意思是缺少协议。 解决方案在Mac上正确使用的方法是:即-f需要加上地址族,-p需要加上协议TCP或者UDP等 a)如果需要查询inet,netstat -anvf inet b)如果需要查询TCP, netstat -an 阅读全文
posted @ 2020-10-20 14:39 牧之丨 阅读(2663) 评论(0) 推荐(0)
摘要: @Slf4j @Component public class MessageConsumer { @Autowired private PpcRequestMessageListener ppcRequestMessageListener; @Autowired private RabbitTemp 阅读全文
posted @ 2020-10-15 23:13 牧之丨 阅读(596) 评论(0) 推荐(0)
摘要: import java.util.Properties; import java.util.function.Consumer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.a 阅读全文
posted @ 2020-10-15 18:38 牧之丨 阅读(2237) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/fingerboy/p/6424248.html刚上手thrift,安装上面花了时间,我在上面的链接中照着安装的。下面记录发生的问题:当我正确安装到bison 后,还是有问题,无法正确的make,make后报错如下: 问题一:fatal error: 阅读全文
posted @ 2020-10-13 08:00 牧之丨 阅读(725) 评论(0) 推荐(0)
摘要: @Data @Accessors(chain = true) public class PpcProcessResult { public static volatile int globalThreadStatus = DEFAULT_PPC_THREAD_STATUS; private Stri 阅读全文
posted @ 2020-10-12 23:21 牧之丨 阅读(184) 评论(0) 推荐(0)
摘要: 一、二进制(原码、反码、补码) 二进制的最高位是符号位(“0”代表正数,“1”代表负数); Java中没有无符号数; 计算机以整数的补码进行运算; 1. 原码:将一个整数转换成二进制表示 以 int 类型为例,int类型占4个字节、共32位。 例如,2 的原码为:00000000 00000000 阅读全文
posted @ 2020-10-12 23:20 牧之丨 阅读(1520) 评论(0) 推荐(0)
摘要: 1、下载源码 git clone https://git-wip-us.apache.org/repos/asf/thrift.git thrift 2、生成configure scripts ./bootstrap.sh 3、configure ./configure 在configure过程中, 阅读全文
posted @ 2020-10-12 23:15 牧之丨 阅读(344) 评论(0) 推荐(0)
摘要: 实际集成 获取restTemplate实例,封装方法 package com.quant.api.utils.restTemplate; import org.springframework.http.HttpEntity; import org.springframework.http.HttpH 阅读全文
posted @ 2020-10-11 01:22 牧之丨 阅读(727) 评论(0) 推荐(0)
摘要: https://www.freesion.com/article/41531004212/ 环境: jdk1.8+tomcat8+httpclient4.5.2 主要现象: 项目偶发出现org.apache.http.NoHttpResponseException: The target serve 阅读全文
posted @ 2020-10-10 23:38 牧之丨 阅读(2222) 评论(0) 推荐(0)
摘要: 目录 一、背景介绍 1、什么是RestTemplate? 2、RestTemplate的优缺点: 二、配置RestTemplate 1、引入依赖 2、连接池配置 3、初始化连接池 4、使用示例 三、RestTemplate常用方法 1、getForEntity 2、getForObject 3、po 阅读全文
posted @ 2020-10-10 23:22 牧之丨 阅读(1366) 评论(0) 推荐(0)
上一页 1 ··· 61 62 63 64 65 66 67 68 69 ··· 232 下一页