r01f.xmlproperties
Class XMLPropertiesCacheImpl.CacheValue

java.lang.Object
  extended by r01f.xmlproperties.XMLPropertiesCacheImpl.CacheValue
Enclosing class:
XMLPropertiesCacheImpl

private class XMLPropertiesCacheImpl.CacheValue
extends java.lang.Object

Información que se guarda en la caché cuando una entrada NO se encuentra en el properties, de esta forma se evita tener que consultar de nuevo el árbol DOM.
Simplemente almacena información sobre el número de veces que se ha preguntado por la propiedad y el último acceso a la misma.


Field Summary
private  long _accessCount
           
private  boolean _defaultValue
           
private  long _lastAcessTimeStamp
           
private  java.lang.Object _propValue
           
 
Constructor Summary
private XMLPropertiesCacheImpl.CacheValue()
           
 
Method Summary
 void anotherHit()
           
 void setValue(java.lang.Object val, boolean defaultVal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_accessCount

private long _accessCount

_lastAcessTimeStamp

private long _lastAcessTimeStamp

_propValue

private java.lang.Object _propValue

_defaultValue

private boolean _defaultValue
Constructor Detail

XMLPropertiesCacheImpl.CacheValue

private XMLPropertiesCacheImpl.CacheValue()
Method Detail

anotherHit

public void anotherHit()

setValue

public void setValue(java.lang.Object val,
                     boolean defaultVal)