码迷,mamicode.com
首页 >  
搜索关键字:boot    ( 13995个结果
Spring Boot 事务配置
本文介绍如何开启 Spring Boot 声明式事务和如何查看项目使用的事务管理器。涉及两个注解 @EnableTransactionManagement 和 @Transactional。 ...
分类:编程语言   时间:2020-06-21 17:45:46    阅读次数:107
Spring Boot -- Spring AOP原理及简单实现
一、AOP基本概念 什么是AOP,AOP英语全名就是Aspect oriented programming,字面意思就是面向切面编程。面向切面的编程是对面向对象编程的补充,面向对象的编程核心模块是类,然而在AOP中核心模块是切面。切面实现了多种类型和对象的模块化管理,比如事物的管理。 上面的解释可以 ...
分类:编程语言   时间:2020-06-21 17:41:37    阅读次数:161
SpringBoot中Tomcat调优
Spring Boot中Tomcat调优 123456 server: tomcat: accept-count: 100 max-connections: 10000 #最大可被连接数,默认为10000 max-threads: 1000 #最大工作线程数 min-spare-threads: 1 ...
分类:编程语言   时间:2020-06-21 16:03:32    阅读次数:112
debug 问题
If you are getting this in gdb on macOS while trying to run a program: Unable to find Mach task port for process-id 57573: (os/kern) failure (0x5). (p ...
分类:其他好文   时间:2020-06-21 15:36:08    阅读次数:62
centos7升级内核到4.4
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm yum --enablerepo= ...
分类:其他好文   时间:2020-06-21 11:37:48    阅读次数:79
SpringBoot引入并使用Thymeleaf
恢复内容开始 一、Thymeleaf引入 1.maven引入starter <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> ...
分类:编程语言   时间:2020-06-21 11:29:47    阅读次数:60
LINUX7(日志管理)
系统日志文件 rsyslog主要是用来收集系统产生的各种日志,日志文件默认放在/var/log目录下。 常用日志 /var/log/boot.log 存储服务启动与停止信息 /var/log/dmesg 存储系统启动时显示在屏幕的内核信息,包含了系统中硬件状态的检查信息。 /var/log/mess ...
分类:系统相关   时间:2020-06-21 10:11:34    阅读次数:111
u-boot中CONFIG_SUPPORT_SPL、CONFIG_SPL和CONFIG_SPL_BUILD的作用
u-boot关于SPL有三个配置项,CONFIG_SUPPORT_SPL、CONFIG_SPL和CONFIG_SPL_BUILD,其中CONFIG_SUPPORT_SPL和CONFIG_SPL在Kconfig中定义,如下: config SUPPORT_SPL bool config SUPPORT ...
分类:其他好文   时间:2020-06-21 10:07:01    阅读次数:151
Spring boot 拾遗 —— Spring Cache 使用 Jackson 与 自定义 TTL
1 前言 关于序列化: Spring 提供的 Cache 默认使用 JDK 方式序列化结果,这要求我们的结果都必须实现 Serializable 接口,且在缓存中保存的数据是二进制的,给后续调试带来不少麻烦。 关于 TTL: Spring 提供的 Redis 实现仅支持设置全局 TTL ,如果想要细 ...
分类:编程语言   时间:2020-06-21 09:20:25    阅读次数:68
Spring Boot 编写一个拦截器
创建一个类并使其实现接口HandlerInterceptor 接口提供了一个请求的三个周期的拦截方法 在controller之前,返回true则放行,false反之,handler包含处理请求的controller类以及其方法 boolean preHandle(HttpServletRequest ...
分类:编程语言   时间:2020-06-21 00:33:03    阅读次数:61
13995条   上一页 1 ... 93 94 95 96 97 ... 1400 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!