added findAll(SymbolString) and invalidateCache()

This commit is contained in:
john30
2015-09-19 09:50:54 +02:00
parent 05f162406d
commit f34265b818
2 changed files with 60 additions and 11 deletions
+14
View File
@@ -397,6 +397,20 @@ public:
*/
Message* find(SymbolString& master);
/**
* Find all @a Message instances for the specified master data.
* @param master the master @a SymbolString for identifying the @a Message.
* @return the @a Message instance, or NULL.
* Note: the caller may not free the returned instances.
*/
deque<Message*> findAll(SymbolString& master);
/**
* Invalidate cached data of the @a Message and all other instances with a matching name key.
* @param message the @a Message to invalidate.
*/
void invalidateCache(Message* message);
/**
* Add a @a Message to the list of instances to poll.
* @param message the @a Message to poll.