Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

caching the limit

fahad siddiqui
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using oscache of opensymphony to use caching of data. My code problem is as follows:
I store some key and objects in cache, then read a file and do some comparisons, on basis of these, i take the object out of the cache whichever matches and then again add an element to the cache with the Key altered with say a "_" for identification.
After reading of say 10 lines of file, i need to take all the entries of cache with the key starting with "A" as the first character and not having the suffix as "_" in the key.

Is there any funda of groups or something else? Could you provide me some guidelines on this?

Please advise
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic