一.分类从实现的技术上来分类,目前主要有三种技术(或者说有三种产品):Java自带的java.util.Timer类,这个类允许你调度一个java.util.TimerTask任务。使用这种方式可以让你的程序按照某一个频度执行,但不能在指定时间运行。一般用的较少,这篇文章将不做详细介绍。使用Quar...
分类:
编程语言 时间:
2014-05-15 21:48:46
阅读次数:
474
1.慢查询日志:slow_launch_time=2
查询大于某个时间的值(单位:s)slow_query_log=on/off
开启关闭慢查询日志slow_query_log_file=/opt/data/host-slow.log
慢查询日志位置2.连接数:max_connections MyS...
分类:
数据库 时间:
2014-05-15 21:44:08
阅读次数:
447
有时候会碰到如题这种问题,从网上查知解决办法,非常管用为eclipse.exe创建一个快捷方式,然后快捷方式上右键-属性,在目标栏填入E:\eclipse\eclipse.exe
-vm "C:\Program Files\Java\jdk1.6.0_16\bin\javaw.exe" -data ...
分类:
系统相关 时间:
2014-05-15 21:31:41
阅读次数:
317
此前对于AOP的使用仅限于声明式事务,除此之外在实际开发中也没有遇到过与之相关的问题。最近项目中遇到了以下几点需求,仔细思考之后,觉得采用AOP
来解决。一方面是为了以更加灵活的方式来解决问题,另一方面是借此机会深入学习Spring AOP相关的内容。本文是权当本人的自己AOP学习笔记,以下需求不....
分类:
编程语言 时间:
2014-05-15 21:31:03
阅读次数:
345
jsfunction:selectBox:function(){ var
li=$(this); var selectbox=li.parent().parent();
selectbox.attr("data-checked",li.attr("data-value"));...
分类:
其他好文 时间:
2014-05-15 21:07:32
阅读次数:
287
题目链接:
http://acm.hdu.edu.cn/showproblem.php?pid=1850
Being a Good Boy in Spring Festival
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(...
分类:
编程语言 时间:
2014-05-15 20:04:04
阅读次数:
449
配置如下:
①web.xml配置
remote
org.springframework.web.servlet.DispatcherServlet
1
remote
/remotin...
分类:
编程语言 时间:
2014-05-15 18:32:21
阅读次数:
345
1、gem安装出现下面错误
root@ubuntu:/home/git/gitlab# sudo gem install bundler --no-ri --no-rdoc
ERROR: Could not find a valid gem 'bundler' (>= 0), here is why:
Unable to download data from https...
分类:
其他好文 时间:
2014-05-15 18:19:48
阅读次数:
304
send($data)`. The sent data will then* be the
result of the `yield` expression. Thus it can be received using a code like*
`$data = yield;`.*/ /* What...
分类:
其他好文 时间:
2014-05-15 17:46:37
阅读次数:
311
using System;using
System.Collections.Generic;using System.Linq;using System.Text;using
System.Data;using System.Reflection;namespace TestConsole{ ...
分类:
其他好文 时间:
2014-05-15 17:07:04
阅读次数:
187