@@ -149,13 +149,13 @@ class CcdbApi //: public DatabaseInterface
149149 * @param timestamp Timestamp of the object to retrieve. If omitted, current timestamp is used.
150150 * @param headers Map to be populated with the headers we received, if it is not null.
151151 * @param optional etag from previous call
152- * @param optional upperValidity time limit for the object validity (TimeMachine mode)
152+ * @param optional createdNotAfter time limit for the object validity (TimeMachine mode)
153153 * @return the object, or nullptr if none were found.
154154 * @deprecated in favour of retrieveFromTFileAny as it is not limited to TObjects.
155155 */
156156 TObject* retrieveFromTFile (std::string const & path, std::map<std::string, std::string> const & metadata,
157157 long timestamp = -1 , std::map<std::string, std::string>* headers = nullptr , std::string const & etag = " " ,
158- const std::string& upperValidity = " " ) const ;
158+ const std::string& createdNotAfter = " " ) const ;
159159
160160 /* *
161161 * Retrieve object at the given path for the given timestamp.
@@ -165,13 +165,13 @@ class CcdbApi //: public DatabaseInterface
165165 * @param timestamp Timestamp of the object to retrieve. If omitted, current timestamp is used.
166166 * @param headers Map to be populated with the headers we received, if it is not null.
167167 * @param optional etag from previous call
168- * @param optional upperValidity time limit for the object validity (TimeMachine mode)
168+ * @param optional createdNotAfter time limit for the object validity (TimeMachine mode)
169169 * @return the object, or nullptr if none were found or type does not match serialized type.
170170 */
171171 template <typename T>
172172 T* retrieveFromTFileAny (std::string const & path, std::map<std::string, std::string> const & metadata,
173173 long timestamp = -1 , std::map<std::string, std::string>* headers = nullptr , std::string const & etag = " " ,
174- const std::string& upperValidity = " " ) const ;
174+ const std::string& createdNotAfter = " " ) const ;
175175
176176 /* *
177177 * Delete all versions of the object at this path.
@@ -365,7 +365,7 @@ class CcdbApi //: public DatabaseInterface
365365 */
366366 void * retrieveFromTFile (std::type_info const &, std::string const & path, std::map<std::string, std::string> const & metadata,
367367 long timestamp = -1 , std::map<std::string, std::string>* headers = nullptr , std::string const & etag = " " ,
368- const std::string& upperValidity = " " ) const ;
368+ const std::string& createdNotAfter = " " ) const ;
369369
370370 /* *
371371 * A helper function to extract object from a local ROOT file
@@ -391,9 +391,9 @@ class CcdbApi //: public DatabaseInterface
391391template <typename T>
392392T* CcdbApi::retrieveFromTFileAny (std::string const & path, std::map<std::string, std::string> const & metadata,
393393 long timestamp, std::map<std::string, std::string>* headers, std::string const & etag,
394- const std::string& upperValidity ) const
394+ const std::string& createdNotAfter ) const
395395{
396- return static_cast <T*>(retrieveFromTFile (typeid (T), path, metadata, timestamp, headers, etag, upperValidity ));
396+ return static_cast <T*>(retrieveFromTFile (typeid (T), path, metadata, timestamp, headers, etag, createdNotAfter ));
397397}
398398
399399} // namespace ccdb
0 commit comments