nsICacheEntryInfo 编辑
netwerk/cache/nsICacheVisitor.idl
Scriptable This interface provides information about a cache entry. Inherits from: nsISupports
Last changed in Gecko 1.7Method overview
boolean isStreamBased(); |
Attributes
Attribute | Type | Description |
clientID | string | Get the client id associated with this cache entry. Read only. |
dataSize | unsigned long | Get the cache entry data size. Read only. |
deviceID | string | Get the id for the device that stores this cache entry. Read only. |
expirationTime | PRUint32 | Get the expiration time of the cache entry (in seconds since the Epoch). Read only. |
fetchCount | long | Get the number of times the cache entry has been opened. Read only. |
key | ACString | Get the key identifying the cache entry. Read only. |
lastFetched | PRUint32 | Get the last time the cache entry was opened (in seconds since the Epoch). Read only. |
lastModified | PRUint32 | Get the last time the cache entry was modified (in seconds since the Epoch). Read only. |
Methods
isStreamBased()
This method finds out whether or not the cache entry is stream based.
boolean isStreamBased();
Parameters
None.
Return value
Returns true
if the cache entry is stream based, otherwise returns false
.
See also
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论