FileDocCategorySizeDatePackage
CacheEntry.javaAPI DocGlassfish v2 API3184Fri May 04 22:33:00 BST 2007org.apache.naming.resources

CacheEntry

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

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);