Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Private Attributes
nsDiskCacheEntryInfo Class Reference

#include <nsDiskCacheEntry.h>

Inheritance diagram for nsDiskCacheEntryInfo:
Inheritance graph
[legend]
Collaboration diagram for nsDiskCacheEntryInfo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSICACHEENTRYINFO 
nsDiskCacheEntryInfo (const char *deviceID, nsDiskCacheEntry *diskEntry)
virtual ~nsDiskCacheEntryInfo ()
const char * Key ()
boolean isStreamBased ()
 Find out whether or not the cache entry is stream based.

Public Attributes

NS_DECL_ISUPPORTS
NS_DECL_NSICACHEENTRYINFO
nsDiskCacheRecord
mRec
readonly attribute string clientID
 Get the client id associated with this cache entry.
readonly attribute string deviceID
 Get the id for the device that stores this cache entry.
readonly attribute ACString key
 Get the key identifying the cache entry.
readonly attribute long fetchCount
 Get the number of times the cache entry has been opened.
readonly attribute PRUint32 lastFetched
 Get the last time the cache entry was opened (in seconds since the Epoch).
readonly attribute PRUint32 lastModified
 Get the last time the cache entry was modified (in seconds since the Epoch).
readonly attribute PRUint32 expirationTime
 Get the expiration time of the cache entry (in seconds since the Epoch).
readonly attribute unsigned long dataSize
 Get the cache entry data size.

Private Attributes

const char * mDeviceID
nsDiskCacheEntrymDiskEntry

Detailed Description

Definition at line 442 of file nsDiskCacheDeviceSQL.cpp.


Constructor & Destructor Documentation

NS_DECL_ISUPPORTS NS_DECL_NSICACHEENTRYINFO nsDiskCacheEntryInfo::nsDiskCacheEntryInfo ( const char *  deviceID,
nsDiskCacheEntry diskEntry 
) [inline]

Definition at line 124 of file nsDiskCacheEntry.h.

        : mDeviceID(deviceID)
        , mDiskEntry(diskEntry)
    {
    }
virtual nsDiskCacheEntryInfo::~nsDiskCacheEntryInfo ( ) [inline, virtual]

Definition at line 130 of file nsDiskCacheEntry.h.

{}

Member Function Documentation

Find out whether or not the cache entry is stream based.

const char* nsDiskCacheEntryInfo::Key ( ) [inline]

Definition at line 132 of file nsDiskCacheEntry.h.

{ return mDiskEntry->mKeyStart; }

Member Data Documentation

Get the client id associated with this cache entry.

Definition at line 118 of file nsICacheVisitor.idl.

readonly attribute unsigned long nsICacheEntryInfo::dataSize [inherited]

Get the cache entry data size.

Definition at line 153 of file nsICacheVisitor.idl.

Get the id for the device that stores this cache entry.

Definition at line 123 of file nsICacheVisitor.idl.

Get the expiration time of the cache entry (in seconds since the Epoch).

Definition at line 148 of file nsICacheVisitor.idl.

Get the number of times the cache entry has been opened.

Definition at line 133 of file nsICacheVisitor.idl.

readonly attribute ACString nsICacheEntryInfo::key [inherited]

Get the key identifying the cache entry.

Definition at line 128 of file nsICacheVisitor.idl.

Get the last time the cache entry was opened (in seconds since the Epoch).

Definition at line 138 of file nsICacheVisitor.idl.

Get the last time the cache entry was modified (in seconds since the Epoch).

Definition at line 143 of file nsICacheVisitor.idl.

Definition at line 135 of file nsDiskCacheEntry.h.

Definition at line 136 of file nsDiskCacheEntry.h.

Definition at line 448 of file nsDiskCacheDeviceSQL.cpp.


The documentation for this class was generated from the following files: