[#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&hyphen;on&hyphen;lifetime is in effect, and a 0 time interval otherwise&period;

== Synopsis

Declared in `&lt;ball&lowbar;fileobserver&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlt/DatetimeInterval.adoc[bdlt::DatetimeInterval]
rotationLifetime() const;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
