[#BloombergLP-ball-FileObserver-rotationLifetime] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/FileObserver.adoc[FileObserver]::rotationLifetime :relfileprefix: ../../../ :mrdocs: Return the lifetime of the log file that will trigger a file rotation by this file observer if rotation‐on‐lifetime is in effect, and a 0 time interval otherwise. == Synopsis Declared in `<ball_fileobserver.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]#