Which of these method of httpd class is used to write UrlCacheEntry object into local disk?
A. writeDiskCache()
B. writetoDisk()
C. writeCache()
D. writeDiskEntry()
Answer:A
Which of these method of httpd class is used to write UrlCacheEntry object into local disk?
A. writeDiskCache() B. writetoDisk() C. writeCache() D. writeDiskEntry()
Explanation: The writeDiskCache() method takes an UrlCacheEntry object and writes it persistently into the local disk. It constructs directory names out of URL, making sure to replace the slash(/) characters with system dependent seperatorChar.