转载自51CTO http://developer.51cto.com/art/201006/207768.htm 51CTO曾经为我们简单的介绍过Java连接池。要了解Java连接池我们先要了解数据库连接池(connection pool)的原理,Java连接池正是数据库连接池在Java上的应用。...
分类:
编程语言 时间:
2014-10-13 13:38:19
阅读次数:
172
思路:配置VTP主机和客户机,开启iprouting,划分Vlan-----〉各Vlan口定义好Ip地址,以及打通trunk------〉VTP服务端开启DHCP,定义ip-pool,不同网段设置为Vlan接口ip地址成网关------〉将各端口加入相应的Vlan-------〉设置各交换机管理Ip及密码
分类:
其他好文 时间:
2014-10-12 19:12:08
阅读次数:
222
首先说什么是缓冲区:
缓冲区就是在.fx效果文件(.ps .vs也是) 里面定义的一个数据结构。用于.fx和cpp文件的数据通信。
比如://--------------------------------------------------------------------------------------
// Constant Buffer Variables
//---------...
分类:
其他好文 时间:
2014-10-12 17:08:38
阅读次数:
168
首先看看下面的图,看清楚了图咱们要说的知识点也就说说清楚了一半
int a=10;
String b="ss";
String c=new String("kkk");
Person d=new Person("dlf");
String e=new String("kkk");
String f="ss";
jvm中有堆heap,栈stack,常量池constant...
分类:
其他好文 时间:
2014-10-10 19:14:44
阅读次数:
219
A flip-flop is a circuit that produce an output value of 0 OR 1,which remains constant until a temporary pulse from another circuit causes it to shift...
分类:
其他好文 时间:
2014-10-10 02:28:33
阅读次数:
200
1, .intern() method, return Stringcall .intern() method, will try to add current string into the pool, if the pool already has the string, the method ...
分类:
其他好文 时间:
2014-10-10 00:22:31
阅读次数:
209
The key is to use two constant space(32 bits) to store how many times 1 or 0 showed up in the bit i. If times of 1 in bit i is not the multiple of 3, then the unique value's bit i is 1. Otherwise the ...
分类:
其他好文 时间:
2014-10-09 15:29:08
阅读次数:
243
根据前两篇文章的分析,帧分为标签帧和数据帧,MP3文件类型是根据数据帧的类型来分的,文件类型如下表:位率相等(Constant BitRate)CBR Mp3文件位率不等(Variable BitRate)Xing Mp3文件VBRI Mp3文件一、如何判断一个Mp3文件的类型,CBR文件,VBR....
分类:
其他好文 时间:
2014-10-09 13:34:13
阅读次数:
283
参考数据库链接串:查看应用程序池占用数量:select*fromsysprocesseswheredbid=db_id('数据库名')Max Pool Size:如果未设置则默认为100,理论最大值为32767。最大连接数是连接池能申请的最大连接数,如果数据库连接请求超过此数,后面的数据库连接请求将...
分类:
其他好文 时间:
2014-10-09 01:19:07
阅读次数:
268
====================问题描述==================== 异常日志如下:
Causedby:java.lang.IllegalStateException:Cannotperformthisoperationbecausetheconnectionpoolhasbee...
分类:
数据库 时间:
2014-10-08 17:30:55
阅读次数:
206