FileDocCategorySizeDatePackage
CacheEntry.javaAPI DocApache Tomcat 6.0.142064Fri Jul 20 04:20:36 BST 2007org.apache.naming.resources

CacheEntry

public class CacheEntry extends Object
Implements a cache entry.
author
Remy Maucherat
version
$Revision: 467222 $

Fields Summary
public long
timestamp
public String
name
public ResourceAttributes
attributes
public Resource
resource
public DirContext
context
public boolean
exists
public long
accessCount
public int
size
Constructors Summary
Methods Summary
public voidrecycle()



    // ----------------------------------------------------- Public Methods


       
        timestamp = -1;
        name = null;
        attributes = null;
        resource = null;
        context = null;
        exists = true;
        accessCount = 0;
        size = 1;
    
public java.lang.StringtoString()

        return ("Cache entry: " + name + "\n"
                + "Exists: " + exists + "\n"
                + "Attributes: " + attributes + "\n"
                + "Resource: " + resource + "\n"
                + "Context: " + context);