001    package railo.runtime.cache.eh.remote.rest;
002    
003    import java.util.Date;
004    
005    import railo.commons.io.cache.CacheEntry;
006    import railo.runtime.type.Struct;
007    
008    public class RESTCacheEntry implements CacheEntry {
009    
010            private String key;
011            private Object value;
012    
013            public RESTCacheEntry(String key, Object value) {
014                    this.key=key;
015                    this.value=value;
016            }
017    
018            /**
019             * @see railo.commons.io.cache.CacheEntry#getKey()
020             */
021            public String getKey() {
022                    return key;
023            }
024    
025            /**
026             * @see railo.commons.io.cache.CacheEntry#getValue()
027             */
028            public Object getValue() {
029                    return value;
030            }
031    
032            public Date created() {
033                    // TODO Auto-generated method stub
034                    return null;
035            }
036    
037            public Struct getCustomInfo() {
038                    // TODO Auto-generated method stub
039                    return null;
040            }
041    
042            public int hitCount() {
043                    // TODO Auto-generated method stub
044                    return 0;
045            }
046    
047            public long idleTimeSpan() {
048                    // TODO Auto-generated method stub
049                    return 0;
050            }
051    
052            public Date lastHit() {
053                    // TODO Auto-generated method stub
054                    return null;
055            }
056    
057            public Date lastModified() {
058                    // TODO Auto-generated method stub
059                    return null;
060            }
061    
062            public long liveTimeSpan() {
063                    // TODO Auto-generated method stub
064                    return 0;
065            }
066    
067            public long size() {
068                    // TODO Auto-generated method stub
069                    return 0;
070            }
071    
072    }