| 507 | // 0 if object is nullptr |
| 508 | template <typename T> |
| 509 | uint32_t getCreationTimeSec(std::shared_ptr<T>& object) { |
| 510 | if (object == nullptr) { |
| 511 | return 0; |
| 512 | } |
| 513 | return getReadHandleRefInternal<T>(object)->getCreationTime(); |
| 514 | } |
| 515 | |
| 516 | // Update the expiry timestamp of an object |
| 517 | // |