All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aspire.nm.component.util.CacheItem Maven / Gradle / Ivy

The newest version!
package com.aspire.nm.component.util;

public class CacheItem {
	private Object cacheObject;
	private long timeStamp;
	private long expiredTime;
	
	CacheItem(Object obj,long expiredTime) {
		this.cacheObject = obj;
		this.timeStamp = System.currentTimeMillis();
		this.expiredTime = expiredTime;
	}

	Object getCacheObject() {
		return cacheObject;
	}

	long getTimeStamp() {
		return timeStamp;
	}
    
    long getExpiredTime() {
    
        return expiredTime;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy