001 package railo.runtime.type.scope; 002 003 import java.io.Serializable; 004 005 import railo.runtime.type.Collection; 006 007 public interface ClusterEntry extends Serializable { 008 009 /** 010 * @param key the key to set 011 */ 012 public void setKey(Collection.Key key); 013 014 /** 015 * @param time the time to set 016 */ 017 public void setTime(long time); 018 019 /** 020 * @param value the value to set 021 */ 022 public void setValue(Serializable value); 023 024 /** 025 * @return the key 026 */ 027 public Collection.Key getKey(); 028 029 /** 030 * @return the time as Long reference 031 */ 032 public Long getTimeRef(); 033 034 /** 035 * @return the time 036 */ 037 public long getTime(); 038 039 /** 040 * @return the value 041 */ 042 public Serializable getValue(); 043 044 }