摘要: public abstract class AbsBatchProcess implements Runnable {// 记录条数protected int recordNum;// 空闲时间(ms)protected long idleTime;// 轮询间隔protected long int... 阅读全文
posted @ 2015-03-17 17:14 xiongjianjun 阅读(125) 评论(0) 推荐(0) 编辑
摘要: import java.util.concurrent.*;import java.util.*;public class TestGreenhouseScheduler {private volatile boolean light = false;private volatile boolean... 阅读全文
posted @ 2015-03-17 09:58 xiongjianjun 阅读(1240) 评论(0) 推荐(0) 编辑