摘要:
服务器Tomcat配置 以 Linux 环境为例Tomcat 安装在: /usr/program/tomcat7Tomcat 的执行程序:/usr/program/tomcat7/bin/catalina.sh编辑 Tomcat 执行程序: vim /usr/... 阅读全文
摘要:
CREATE TABLE `abc` ( `id` int(11) DEFAULT NULL, `veh_code` varchar(255) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; ... 阅读全文
mysql执行SQL语句时报错:[Err] 3 - Error writing file '/tmp/MYP0G1B8' (Errcode: 28 - No space left on device)
摘要:
文章来自:https://www.cnblogs.com/chuanzhang053/p/9269737.html 阅读全文
摘要:
1.线程池的构造方法 ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue wor... 阅读全文
摘要:
/* 与 的区别, * T 代表一个给定的接口 * */import java.util.*;interface A1{}interface A2{}interface A3{}interface A4{}interface B1 extends A1... 阅读全文
摘要:
package com.mrm.test.action;import java.util.Random;import java.util.concurrent.*;public class test { public static void main(S... 阅读全文
摘要:
@Componentpublic class SpringContextUtil implements BeanFactoryAware { private static BeanFactory beanFactory; private final... 阅读全文
摘要:
阅读全文
摘要:
java.util.concurrent.Exchanger应用范例与原理浅析--转载 一、简介 Exchanger是自jdk1.5起开始提供的工具套件,一般用于两个工作线程之间交换数据。在本文中我将采取由浅入深的方式来介绍分析这个工具类。首先我们来看看... 阅读全文
摘要:
springboot @EnableAspectJAutoProxy开启AOP, @EnableTransactionManagement开启spring事务管理, 然后在访问数据库的Service方法上添加注解 @Transactional 便可 @Enab... 阅读全文