<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: A Simple LRU Cache in 5 lines</title>
	<atom:link href="http://www.khanspot.com/2006/11/27/a-simple-lru-cache-in-5-lines/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.khanspot.com/2006/11/27/a-simple-lru-cache-in-5-lines/</link>
	<description>Computers are useless. They can only give you answers.</description>
	<pubDate>Tue, 06 Jan 2009 20:33:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Open Source and Caching Algorithms - Zarang : Engineer!</title>
		<link>http://www.khanspot.com/2006/11/27/a-simple-lru-cache-in-5-lines/#comment-1186</link>
		<dc:creator>Open Source and Caching Algorithms - Zarang : Engineer!</dc:creator>
		<pubDate>Mon, 28 Jan 2008 12:16:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.khanspot.com/2006/11/27/a-simple-lru-cache-in-5-lines/#comment-1186</guid>
		<description>[...] Least Recently Used (LRU) - the items that haven’t been accessed the longest get the boot first. This is implemented by keeping a timestamp for all items in the cache. Check out this simple LRU implementation. [...]</description>
		<content:encoded><![CDATA[<p>[...] Least Recently Used (LRU) - the items that haven’t been accessed the longest get the boot first. This is implemented by keeping a timestamp for all items in the cache. Check out this simple LRU implementation. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A Noted Path - Personal blog of Theodore Nguyen-Cao &#8212; Where inspiration meets aspiration &#187; Blog Archive &#187; Open Source and Caching Algorithms</title>
		<link>http://www.khanspot.com/2006/11/27/a-simple-lru-cache-in-5-lines/#comment-1184</link>
		<dc:creator>A Noted Path - Personal blog of Theodore Nguyen-Cao &#8212; Where inspiration meets aspiration &#187; Blog Archive &#187; Open Source and Caching Algorithms</dc:creator>
		<pubDate>Mon, 28 Jan 2008 04:34:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.khanspot.com/2006/11/27/a-simple-lru-cache-in-5-lines/#comment-1184</guid>
		<description>[...] Least Recently Used (LRU) - the items that haven&#8217;t been accessed the longest get the boot first. This is implemented by keeping a timestamp for all items in the cache. Check out this simple LRU implementation. [...]</description>
		<content:encoded><![CDATA[<p>[...] Least Recently Used (LRU) - the items that haven&#8217;t been accessed the longest get the boot first. This is implemented by keeping a timestamp for all items in the cache. Check out this simple LRU implementation. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhavi latha</title>
		<link>http://www.khanspot.com/2006/11/27/a-simple-lru-cache-in-5-lines/#comment-1177</link>
		<dc:creator>madhavi latha</dc:creator>
		<pubDate>Fri, 25 Jan 2008 21:36:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.khanspot.com/2006/11/27/a-simple-lru-cache-in-5-lines/#comment-1177</guid>
		<description>Hi!

I would like to cache the data which is not often changed.may be once in a day i would like to refresh the cache.I need a simple caching example which I am planning to implement only for read operation.i.e select statement.I am using prepared statement and from there I have ResultSet.Can you please give me an example for putting all the data into cache.I am using JDBC.Please give me the detailed explanation of how to set the time of cache and how to get the data from cache and also how to examine whether the data is stale.Thank you very much in advance.</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I would like to cache the data which is not often changed.may be once in a day i would like to refresh the cache.I need a simple caching example which I am planning to implement only for read operation.i.e select statement.I am using prepared statement and from there I have ResultSet.Can you please give me an example for putting all the data into cache.I am using JDBC.Please give me the detailed explanation of how to set the time of cache and how to get the data from cache and also how to examine whether the data is stale.Thank you very much in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Atif Khan</title>
		<link>http://www.khanspot.com/2006/11/27/a-simple-lru-cache-in-5-lines/#comment-217</link>
		<dc:creator>Atif Khan</dc:creator>
		<pubDate>Fri, 13 Apr 2007 22:10:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.khanspot.com/2006/11/27/a-simple-lru-cache-in-5-lines/#comment-217</guid>
		<description>Arpan,
   I think the example in my post should work for you. Could you explain what you need a little more? If all you want to do is to see if an object of a particular class type is not created, then create a new one and otherwise return from cache, then you can use the class name as the key and object as the value.</description>
		<content:encoded><![CDATA[<p>Arpan,<br />
   I think the example in my post should work for you. Could you explain what you need a little more? If all you want to do is to see if an object of a particular class type is not created, then create a new one and otherwise return from cache, then you can use the class name as the key and object as the value.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arpan</title>
		<link>http://www.khanspot.com/2006/11/27/a-simple-lru-cache-in-5-lines/#comment-215</link>
		<dc:creator>Arpan</dc:creator>
		<pubDate>Fri, 13 Apr 2007 06:33:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.khanspot.com/2006/11/27/a-simple-lru-cache-in-5-lines/#comment-215</guid>
		<description>Nice one Can you help me I have similar kind of question.

1. I want to create a cache memory. If i have a class and its object is already existing then When i want to create a new instance it should not create it. It should return me from cache. It is to be implemented using hasmp.</description>
		<content:encoded><![CDATA[<p>Nice one Can you help me I have similar kind of question.</p>
<p>1. I want to create a cache memory. If i have a class and its object is already existing then When i want to create a new instance it should not create it. It should return me from cache. It is to be implemented using hasmp.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
