摘要: #修改linux服务器 创建ftp的最大并发量 #vi /etc/security/limit.conf 添加 * soft nofile 65535 * hard nofile 65535 查看ulimit -n 阅读全文
posted @ 2016-04-27 15:29 IAMME 阅读(165) 评论(0) 推荐(0) 编辑
摘要: java.lang.OutOfMemoryError: Java heap space 原因:Heap内存溢出,意味着Young和Old generation的内存不够。 解决:调整java启动参数-Xms -Xmx 来增加Heap内存。 java.lang.OutOfMemoryError: un 阅读全文
posted @ 2016-04-27 15:23 IAMME 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 一.NetworkInterface概念 Java提供了一个NetworkInterface类。这个类可以得到本机所有的物理网络接口和虚拟机等软件利用本机的物理网络接口创建的逻辑网络接口的信息。 第一步:NetworkInterface通过getNetworkInterfaces方法来枚举本机所有的 阅读全文
posted @ 2016-04-27 15:22 IAMME 阅读(6381) 评论(0) 推荐(0) 编辑
摘要: 思路:Project类实现Clonable接口 阅读全文
posted @ 2016-04-27 15:05 IAMME 阅读(139) 评论(0) 推荐(0) 编辑
摘要: package com.isoftstone.mgt.console.core; import java.io.*; import java.util.*; import java.text.*; /** * 此类中封装一些常用的字符串操作。 所有方法都是静态方法,不需要生成此类的实例, 为避免生成此类的实例,构造方法被申明为private类型的。 * * @since 0.1 *... 阅读全文
posted @ 2016-04-27 15:01 IAMME 阅读(270) 评论(0) 推荐(0) 编辑
摘要: /** * * Model属性名称转换适配 * @author Administrator * */ public class BsModelPropAdapter { private BsModelPropAdapter(){} /** * 适配转换单个属性 */ public static T adapter(Record... 阅读全文
posted @ 2016-04-27 14:48 IAMME 阅读(572) 评论(0) 推荐(0) 编辑
摘要: import java.io.PrintWriter; import java.io.StringWriter; import java.lang.reflect.Field; import java.util.List; import com.sdp.core.config.Bs; import jodd.util.StringUtil; /** * 字符串操作工具类 * @auth... 阅读全文
posted @ 2016-04-27 13:48 IAMME 阅读(182) 评论(0) 推荐(0) 编辑
摘要: public class reflectTest { /** * 利用反射设置实体类的属性 * * @return * @throws ClassNotFoundException * @throws IllegalAccessException * @throws InstantiationException * ... 阅读全文
posted @ 2016-04-27 10:20 IAMME 阅读(384) 评论(0) 推荐(0) 编辑
摘要: select a.*, case when a.type = 'executeUnit' then (select e.name from diqm_quality_executeunit e where e.id = a.reference) when a.type = 'analyzer' then ... 阅读全文
posted @ 2016-04-27 10:18 IAMME 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 一.前端框架使用的easyui框架 二.后端使用的是jfinal 三.效果图 四.html代码 五.js代码 六:后台实现 1> sql 2>实现方法 3>model 阅读全文
posted @ 2016-04-27 10:00 IAMME 阅读(2936) 评论(0) 推荐(0) 编辑