Norman Rädke <[email protected]> writes: > In order to resolve this problem i need a shadow copy of table columns > after successfull read by client application. If the 'live_counter' > called i inform every collumn and calculate the new value as followed: > > new_value = act_value - shadow_value; shadow_value = 0;
There is various types of caching that might be able to help you, but it would be easiest to create your own rather than use a full stash_cache, though you certainly could. But the real issue is that the design of "when this variable is read, do something" isn't safe. Consider the case where the manager sends the GET request, the column is read and the RESPONSE is sent back to the manager. But is dropped along the way, so the manager re-issues the GET request and the results are now affected. You should probably be using a 'SET' to reset things instead. -- Wes Hardaker SPARTA, Inc. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
