com.cudoy.framework.cache.local.CacheObject Maven / Gradle / Ivy
The newest version!
package com.cudoy.framework.cache.local;
import java.io.Serializable;
public class CacheObject implements Serializable{
private long expired = -1;
private Object object;
public CacheObject(){}
public CacheObject(Object object) {
this.object = object;
}
public CacheObject(Object object, long expired) {
this.expired = expired;
this.object = object;
}
public long getExpired() {
return expired;
}
public void setExpired(long expired) {
this.expired = expired;
}
public Object getObject() {
return object;
}
public void setObject(Object object) {
this.object = object;
}
}