Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

nsICacheVisitor

This interface provides information about cache devices and entries.
Inherits from: nsISupports Last changed in Gecko 1.7

Method overview

boolean visitDevice(in string deviceID, in nsICacheDeviceInfo deviceInfo);
boolean visitEntry(in string deviceID, in nsICacheEntryInfo entryInfo);

Methods

visitDevice()

This method is called to provide information about a cache device.

boolean visitDevice(
  in string deviceID,
  in nsICacheDeviceInfo deviceInfo
);
Parameters
deviceID
Specifies the device being visited.
deviceInfo
Specifies information about this device.
Return value

Returns true to start visiting all entries for this device, otherwise returns false to advance to the next device.

visitEntry()

This method is called to provide information about a cache entry.

boolean visitEntry(
  in string deviceID,
  in nsICacheEntryInfo entryInfo
);
Parameters
deviceID
Specifies the device being visited.
entryInfo
Specifies information about this entry.
Return value

Returns true to visit the next entry on the current device, or if the end of the device has been reached, advance to the next device, otherwise returns false to advance to the next device.

See also

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh, Arehman4
 Last updated by: Sheppy,