自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 Netty模板代码

服务端 package com.lagou.demo; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.*; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.SocketChannel; import io.netty.channel.socket.nio.NioServerSocketChannel; /**

2021-12-18 17:56:16 280

转载 Spring定时任务

Spring定时任务 SpringBoot定时任务@EnableScheduling 一、定时任务作用? 定时任务相当于闹钟 在什么时间做什么事情(执行什么命令/脚本) 二、举例说明 1、pom.xml中导入必要的依赖: org.springframework.boot spring-boot-starter-parent 2.0.1.RELEASE <dependencies> <!-- SpringBoot 核心组件 --> <dependency&gt

2021-06-27 02:08:49 63

原创 Spring 集成redis缓存

Spring 集成redis缓存 RedisConfig @EnableCaching @Configuration public class RedisConfig extends CachingConfigurerSupport { @Bean public RedisTemplate<String, Object> redisTemplate(RedisConnectionFactory factory) { RedisTemplate<String, Object>

2021-06-14 00:31:30 172

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除