- 浏览: 2930 次
- 性别:
- 来自: 无锡
最新评论
-
shenhui134:
恩 对 多谢
java concurrency in practice推荐的单例模式 -
kingsford:
后面的那段加上红字部分:
static class Reso ...
java concurrency in practice推荐的单例模式
文章列表
http://wiki.codemongers.com/NginxChsHttpLimit_zoneModule
可再加个limit_rate 30k;
public class ResourceFactory {
private static class ResourceHolder {
public static Resource resource = new Resource();
}
public static Resource getResource() {
return ResourceFactory.ResourceHolder.resource;
}
static class Resource {
private ...
- 2009-12-01 15:27
- 浏览 789
- 评论(2)