org.opengts.extra.util
Class MemCache.MemEntry<KEY,VAL>

java.lang.Object
  extended by org.opengts.extra.util.MemCache.MemEntry<KEY,VAL>
Enclosing class:
MemCache<KEY,VAL>

public static class MemCache.MemEntry<KEY,VAL>
extends java.lang.Object

Class MemEntry


Constructor Summary
MemCache.MemEntry(KEY k, VAL v)
           
 
Method Summary
 long getCreateTimeMS()
           
 KEY getKey()
           
 java.lang.String getKeyString()
           
 long getRefreshTimeMS()
           
 VAL getValue()
           
 VAL getValue(boolean update)
           
 java.lang.String getValueString()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MemCache.MemEntry

public MemCache.MemEntry(KEY k,
                         VAL v)
Method Detail

getKey

public KEY getKey()

getValue

public VAL getValue()

getValue

public VAL getValue(boolean update)

getCreateTimeMS

public long getCreateTimeMS()

getRefreshTimeMS

public long getRefreshTimeMS()

getKeyString

public java.lang.String getKeyString()

getValueString

public java.lang.String getValueString()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object