org.openxri.resolve
Class Cache.CachedValue

java.lang.Object
  extended by org.openxri.resolve.Cache.CachedValue
Enclosing class:
Cache

public class Cache.CachedValue
extends java.lang.Object

This class provides an externally visible representation of the result of searching the cache. It provides the descriptor for resulting cache entry as well as the depth of that entry.


Method Summary
 int getDepth()
          Returns the depth at which the descriptor was found
 XRD getDescriptor()
          Returns the descriptor found for some subsegment in the cache
 java.lang.String toString()
          Serializes the descriptor member.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getDepth

public int getDepth()
Returns the depth at which the descriptor was found


getDescriptor

public XRD getDescriptor()
Returns the descriptor found for some subsegment in the cache


toString

public java.lang.String toString()
Serializes the descriptor member.

Overrides:
toString in class java.lang.Object


Copyright © 2005-2012. All Rights Reserved.