• 大小: 6KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-14
  • 语言: Java
  • 标签: 源码  工具  

资源简介

NULL 博文链接:https://sziitjiang.iteye.com/blog/1701660

资源截图

代码片段和文件信息

package cn.std.run.monitor;

import java.io.Serializable;

public class Cache implements Serializable{  
  
/**
*
*/
private static final long serialVersionUID = 3944730202854873535L;
private String key;//缓存ID  
    private object value;//缓存数据  
    private long timeOut;//更新时间  
    private boolean expired; //是否终止  
    public Cache() {  
            super();  
    }  
    public Cache(String key) {  
     setKey(key);
    }  

    public Cache(String key object value long timeOut boolean expired) {  
            this.key = key;  
            this.value = value;  
            this.timeOut = timeOut;  
            this.expired = expired;  
    }  

    public String getKey() {  
            return key;  
    }  

    public long getTimeOut() {  
            return timeOut;  
    }  

    public object getValue() {  
            return value;  
    }  

    public void setKey(String string) {  
            key = string;  
    }  

    public void setTimeOut(long l) {  
            timeOut = l;  
    }  

    public void setValue(object object) {  
            value = object;  
    }  

    public boolean isExpired() {  
            return expired;  
    }  

    public void setExpired(boolean b) {  
            expired = b;  
    }  
}  

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1352  2012-10-19 15:14  monitor\Cache.java

     文件       9992  2012-10-19 15:14  monitor\CacheMgr.java

     文件       6583  2012-10-19 15:14  monitor\DiskFileMonitor.java

     文件        388  2012-10-18 11:06  monitor\FileMonitor.java

     文件       1315  2012-10-19 15:15  monitor\HashFile.java

     文件         63  2012-10-18 11:08  monitor\Monitor.java

     文件        901  2012-10-19 14:34  monitor\MyDiskFileMonitor.java

     目录          0  2012-10-19 15:39  monitor

----------- ---------  ---------- -----  ----

                20594                    8


评论

共有 条评论