Package com.inmobi.logging
Class IncompleteLogFinalizer
-
- All Implemented Interfaces:
public final class IncompleteLogFinalizerUtility class responsible for finalizing or abandoning incomplete logger sessions based on specified criteria. Users can utilize this class to handle incomplete logger sessions triggered by appCloseEvent instances. It integrates with the IncidentDetectionComponent, to get the latest [exit reason of the app
-
-
Constructor Summary
Constructors Constructor Description IncompleteLogFinalizer(Long threshold)
-
Method Summary
-
-
Constructor Detail
-
IncompleteLogFinalizer
IncompleteLogFinalizer(Long threshold)
-
-
Method Detail
-
finalise
final Unit finalise(String message, String exitData, Integer reason, Long timestamp)
Finalizes or abandons incomplete logger sessions based on specified parameters. Triggered by appCloseEvent instances, this method processes incomplete logs, appending relevant information, and decides to either finish or abandon the logs.
- Parameters:
message- The message of the exit event.exitData- The exit data or additional information associated with the finalization.reason- An integer indicating the exit reason.timestamp- The timestamp of the exit reason.
-
-
-
-