Stellent
HowToComponents
JavaDoc

intradoc.resource
Class ResourceCacheInfo

java.lang.Object
  |
  +--intradoc.resource.ResourceCacheInfo

public class ResourceCacheInfo
extends java.lang.Object

Structure type of class used to hold current state information about a resource.


Field Summary
 long m_agedTS
          The time the object should be declared to be aged and in need of a refresh check.
 java.lang.Object m_associatedInfo
          Cached associated info.
 java.lang.String m_filePath
          File location for loading resource.
 boolean m_hasDynamicResource
          Type of dynamic html included.
 boolean m_hasDynamicString
           
 java.lang.String m_languageId
          Language of a cached resource file.
 long m_lastLoaded
          Last loaded timestamp.
 java.lang.String m_lookupKey
          Lookup key.
 ResourceCacheInfo m_next
          Next resource cache info in linked list.
 ResourceCacheInfo m_prev
          Previous resource cache info in linked list.
 long m_removalTS
          The time the object should be removed from the list of cached resources.
 java.util.Vector m_resourceList
          List of resource objects.
 java.lang.Object m_resourceObj
          Cached resouce object.
 long m_size
          Size of resource cache.
 java.lang.String m_type
          Type of resource.
 
Constructor Summary
ResourceCacheInfo()
          Default constructor.
ResourceCacheInfo(java.lang.String key)
          Constructor assigns a lookup key.
ResourceCacheInfo(java.lang.String key, java.lang.String type, java.lang.String filePath)
          Constructor assigns a lookup key and filepath.
 
Method Summary
 void copy(ResourceCacheInfo info)
          Copies information from parameter into current instance.
 void detach()
          Detaches from linked list.
 void insertBeforeUs(ResourceCacheInfo info)
          Inserts the specified parameter before us in the linked list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_lookupKey

public java.lang.String m_lookupKey
Lookup key.


m_type

public java.lang.String m_type
Type of resource.


m_filePath

public java.lang.String m_filePath
File location for loading resource.


m_resourceObj

public java.lang.Object m_resourceObj
Cached resouce object. (optional)


m_associatedInfo

public java.lang.Object m_associatedInfo
Cached associated info. (optional)


m_lastLoaded

public long m_lastLoaded
Last loaded timestamp.


m_agedTS

public long m_agedTS
The time the object should be declared to be aged and in need of a refresh check.


m_removalTS

public long m_removalTS
The time the object should be removed from the list of cached resources.


m_size

public long m_size
Size of resource cache. Used to determine when too much memory is being used to cache data.


m_languageId

public java.lang.String m_languageId
Language of a cached resource file. This may be null to indicate that the file is not a language file.


m_hasDynamicResource

public boolean m_hasDynamicResource
Type of dynamic html included.


m_hasDynamicString

public boolean m_hasDynamicString

m_resourceList

public java.util.Vector m_resourceList
List of resource objects.


m_prev

public ResourceCacheInfo m_prev
Previous resource cache info in linked list.


m_next

public ResourceCacheInfo m_next
Next resource cache info in linked list.

Constructor Detail

ResourceCacheInfo

public ResourceCacheInfo()
Default constructor.


ResourceCacheInfo

public ResourceCacheInfo(java.lang.String key)
Constructor assigns a lookup key.


ResourceCacheInfo

public ResourceCacheInfo(java.lang.String key,
                         java.lang.String type,
                         java.lang.String filePath)
Constructor assigns a lookup key and filepath.

Method Detail

copy

public void copy(ResourceCacheInfo info)
Copies information from parameter into current instance.


detach

public void detach()
Detaches from linked list.


insertBeforeUs

public void insertBeforeUs(ResourceCacheInfo info)
Inserts the specified parameter before us in the linked list.



(c) 1996-2005  All rights reserved.  Stellent, Inc.