上一页 1 ··· 178 179 180 181 182 183 184 185 186 ··· 233 下一页
摘要: 前言在 Java 程序的运行过程中,对 JVM 和系统的监测一直是 Java 开发人员在开发过程所需要的。一直以来,Java 开发人员必须通过一些底层的 JVM API,比如 JVMPI 和 JVMTI 等,才能监测 Java 程序运行过程中的 JVM 和系统的一系列情况,这种方式一直以来被人所诟病... 阅读全文
posted @ 2014-07-16 15:18 一天不进步,就是退步 阅读(371) 评论(0) 推荐(0)
摘要: 1.定义(http://en.wikipedia.org/wiki/Command_pattern#Java)Inobject-oriented programming, thecommand patternis abehavioraldesign patternin which an object... 阅读全文
posted @ 2014-07-16 09:51 一天不进步,就是退步 阅读(344) 评论(0) 推荐(0)
摘要: 1. 定义http://en.wikipedia.org/wiki/Adapter_patternAn adapter helps two incompatible interfaces to work together. This is the real world definition for ... 阅读全文
posted @ 2014-07-15 15:38 一天不进步,就是退步 阅读(1115) 评论(0) 推荐(0)
摘要: 1. 定义,来自wiki(http://en.wikipedia.org/wiki/Decorator_pattern)The decorator pattern can be used to extend (decorate) the functionality of a certain obje... 阅读全文
posted @ 2014-07-15 14:50 一天不进步,就是退步 阅读(332) 评论(0) 推荐(0)
摘要: 官方文档:http://docs.spring.io/spring-data/data-redis/docs/current/reference/html/redis.htmlThe Spring Data Redis (or SDR) framework makes it easy to writ... 阅读全文
posted @ 2014-07-14 19:46 一天不进步,就是退步 阅读(543) 评论(0) 推荐(0)
摘要: 官方文档:http://spring.io/blog/2014/07/08/spring-session-1-0-0-m1-released1. 优点:This project provides a number ofbenefitsincluding:Accessing a session fro... 阅读全文
posted @ 2014-07-14 19:14 一天不进步,就是退步 阅读(7267) 评论(3) 推荐(0)
摘要: 3Permissions and Security Policy3.1The Permission ClassesThe permission classes represent access to system resources. The java.security.Permission cla... 阅读全文
posted @ 2014-07-14 16:50 一天不进步,就是退步 阅读(2455) 评论(0) 推荐(0)
摘要: linux 管道管道是Linux中很重要的一种通信方式,是把一个程序的输出直接连接到另一个程序的输入,常说的管道多是指无名管道,无名管道只能用于具有亲缘关系的进程之间,这是它与有名管道的最大区别。有名管道叫named pipe或者FIFO(先进先出),可以用函数mkfifo()创建。Linux管道的... 阅读全文
posted @ 2014-07-12 13:22 一天不进步,就是退步 阅读(14535) 评论(0) 推荐(0)
摘要: Java NIO -- the New Input/Output API package-- was introduced with J2SE 1.4 in 2002. Java NIO's purpose was to improve the programming of I/O-intensiv... 阅读全文
posted @ 2014-07-11 16:23 一天不进步,就是退步 阅读(465) 评论(0) 推荐(0)
摘要: 1.获取当前方法堆栈,我们一般用StackTraceElement[] stes = Thread.currentThread().getStackTrace();想要获取当前方法,切记不够灵活,使用数组stes的固定index(网上不少是这样说的,请明辨之)。让我们来看api怎么说的吧?getSt... 阅读全文
posted @ 2014-07-10 20:08 一天不进步,就是退步 阅读(6367) 评论(0) 推荐(1)
上一页 1 ··· 178 179 180 181 182 183 184 185 186 ··· 233 下一页