[#BloombergLP-ball-AsyncFileObserver-rotationLifetime] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/AsyncFileObserver.adoc[AsyncFileObserver]::rotationLifetime :relfileprefix: ../../../ :mrdocs: Return the log file lifetime that will trigger a file rotation by this async file observer if rotation‐on‐lifetime is in effect, and a 0 time interval otherwise. == Synopsis Declared in `<ball_asyncfileobserver.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlt/DatetimeInterval.adoc[bdlt::DatetimeInterval] rotationLifetime() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#