You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dd-sdk-android-core/src/main/kotlin/com/datadog/android/core/internal/persistence/file/FileOrchestrator.kt
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,11 +21,14 @@ import java.io.File
21
21
internalinterfaceFileOrchestrator {
22
22
23
23
/**
24
+
* @param eventSize the size (in bytes) of the event about to be written, used to decide
25
+
* whether an existing batch file has enough room to accommodate it without exceeding the
26
+
* maximum batch size.
24
27
* @return a File with enough space to write data, or null if no space is available
25
28
* or the disk can't be written to.
26
29
*/
27
30
@WorkerThread
28
-
fungetWritableFile(): File?
31
+
fungetWritableFile(eventSize:Long): File?
29
32
30
33
/**
31
34
* @param excludeFiles a set of files to exclude from the readable files
Copy file name to clipboardExpand all lines: dd-sdk-android-core/src/main/kotlin/com/datadog/android/core/internal/persistence/file/FilePersistenceConfig.kt
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -19,11 +19,11 @@ internal data class FilePersistenceConfig(
0 commit comments