Netty核心组件之Channel

摘要: 一种关联网络套接字或能够进行I/O 操作(例如读取,写入,连接和绑定)的组件的组件 channel提供给用户以下用途: channel的当前状态channel的配置参数channel支持的I/O操作(例如:读、写、连接、绑定)channel关联的能够处理所有I/O事件和请求的ChannelPipel 阅读全文
posted @ 2020-12-03 18:07 哈皮的玩偶 阅读(249) 评论(0) 推荐(0) 编辑

Netty核心组件之ChannlFuture

摘要: ChannelFuture是Channel的异步I/O操作的结果 在Netty中,所有的I/O操作都是异步的。这就意味着,任何I/O调用都将会立即返回,但是不保证在I/O调用结束时,这个I/O操作的请求已经完成。不过,它会返回一个ChannelFuture实例给你,里面提供了这个I/O操作的结果或者 阅读全文
posted @ 2020-12-03 00:42 哈皮的玩偶 阅读(300) 评论(0) 推荐(0) 编辑

Error creating bean with name 'eurekaAutoServiceRegistration'

摘要: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'eurekaAutoServiceRegistration': Singleton bean creat 阅读全文
posted @ 2020-10-29 14:23 哈皮的玩偶 阅读(3341) 评论(0) 推荐(0) 编辑

关于mysql数据库时间与java后台时间类型

摘要: 1,前端传String类型日期,数据库datetime类型: 查询指定日期(某天): 例如"2020-10-10",可以这样写:字段名>= CONCAT(#{值}," 00:00:00") and 字段名 <= CONCAT(#{值}," 23:59:59") 阅读全文
posted @ 2020-10-20 15:48 哈皮的玩偶 阅读(248) 评论(0) 推荐(0) 编辑

rabbitMQ-helloWorld

摘要: private static final String EXCHANGE_NAME = "direct_logs"; private static final String DELAY_EXCHANGE_NAME = "delay_exchange"; private static final St 阅读全文
posted @ 2020-09-18 17:08 哈皮的玩偶 阅读(76) 评论(0) 推荐(0) 编辑

项目启动报错:Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean.

摘要: org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.context.Applicati 阅读全文
posted @ 2020-08-25 14:26 哈皮的玩偶 阅读(2633) 评论(0) 推荐(0) 编辑

mysql系列之--undo log

摘要: aa 阅读全文
posted @ 2020-08-18 18:53 哈皮的玩偶 阅读(68) 评论(0) 推荐(0) 编辑

mysql系列之--redo log

摘要: 参考手册: The redo log is a disk-based data structure used during crash recovery to correct data written by incomplete transactions. During normal operati 阅读全文
posted @ 2020-08-18 18:51 哈皮的玩偶 阅读(162) 评论(0) 推荐(0) 编辑

mysql系列之--doublewrite buffer 双写缓冲区

摘要: 参考手册: The doublewrite buffer is a storage area where InnoDB writes pages flushed from the buffer pool before writing the pages to their proper positio 阅读全文
posted @ 2020-08-18 18:46 哈皮的玩偶 阅读(822) 评论(0) 推荐(0) 编辑

mysql系列之--innodb内存结构:buffer pool 、 change buffer、adaptive hash index(自适应哈希索引)、log buffer

摘要: 放两张张图先: 一、innodb系统架构图(保存内存的 和 硬盘的) 二、innodb内存结构图: buffer bool(缓冲池): 缓冲池是主内存中的一个区域,在InnoDB访问表和索引数据时会在对其进行高速缓存。缓冲池允许直接从内存中处理经常使用的数据,从而加快了处理速度。在专用服务器上,通常 阅读全文
posted @ 2020-08-14 10:16 哈皮的玩偶 阅读(186) 评论(0) 推荐(0) 编辑