Displaying 2 results from an estimated 2 matches for "cache_writ".
Did you mean:
cache_write
2007 Jan 05
0
ActiveResource cache using memcache-client
...rd = self.cache_read(args.first)
return cached_record if cached_record
end
# if find(int) is not a cache hit or if the
# find is more complex, do the find as normal
# and cache the answers
records = super(*args)
case records
when Array
records.each {|r| r.cache_write}
else
records.cache_write
end
return records
end
# See ActiveResource::Base.delete for method description
def self.delete(*args)
if args.length == 1 && args.first.is_a?(Fixnum)
self.cache_delete
end
super(*args)
end
# See ActiveResource::...
2006 Feb 28
2
Busy day today...
...ilstore1a kernel: [<c0146e84>] kfree+0x43/0x51
Feb 28 14:40:53 tempmailstore1a kernel: [<f8e68d35>]
ip_map_parse+0x194/0x1bc [sunrpc]
Feb 28 14:40:53 tempmailstore1a kernel: [<f8e68ba1>]
ip_map_parse+0x0/0x1bc [sunrpc]
Feb 28 14:40:53 tempmailstore1a kernel: [<f8e6b741>]
cache_write+0xf8/0x115 [sunrpc]
Feb 28 14:40:53 tempmailstore1a kernel: [<c0159d24>] vfs_write+0xb6/0xe2
Feb 28 14:40:53 tempmailstore1a kernel: [<c0159dee>] sys_write+0x3c/0x62
Feb 28 14:40:53 tempmailstore1a kernel: [<c02d0fb7>] syscall_call+0x7/0xb
Feb 28 14:40:53 tempmailstore1a kerne...