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.