I haven't been to write blog for a long time, I am very busy recently! ^ _ ^
About this block, how to say it, it is really good, but it is also the largest block of bugs I have encountered, and the document writes is being used to write, and the cattle who wrote this block certainly didn't take it. I thought that the document does not need to write detailed, the result is that I can hue, I have to find a bug's source for a long time, I finally fix it. The general lecture block of this cache is used to cache, and it is very convenient to use, because some source and additional design documents are not a problem. But this block has two bugs (I have encountered), here is listed:
FileDependency class, whether it is obsolete to compare the LastAccesstime of the file, and it is obvious that this is a comparison method, correct, should be LastWrittime. CacheService.removeItem, this method then clears the callback in the collection after the callback, which is obviously the wrong logic. If I add a callback Item to the cache when I am callback, then this item's callback will be cleared. I lost, causing me to find a long time, I saw a few passwords to find out its structure before I changed it. (Angry)
I am listed here, so that everyone can bypass these bugs directly, do not have to waste time above, hoping that this information is useful to everyone. ^ _ ^