1 48 49 package org.jpublish.cache; 50 51 56 public class CacheEntry { 57 58 private long lastModified = -1; 59 private Object object = null; 60 61 67 public CacheEntry(Object object, long lastModified) { 68 this.object = object; 69 this.lastModified = lastModified; 70 } 71 72 77 public long getLastModified() { 78 return lastModified; 79 } 80 81 86 public void setLastModified(long lastModified) { 87 this.lastModified = lastModified; 88 } 89 90 95 public Object getObject() { 96 return object; 97 } 98 99 } 100 | Popular Tags |