-
public final class DiskManagerThis class is internal and not for public use. Its APIs are unstable and can change at any time.
-
-
Method Summary
Modifier and Type Method Description static DiskManagercreate(DiskBufferingConfiguration config)FilegetSignalsBufferDir()FilegetTemporaryDir()intgetMaxFolderSize()It checks for the available cache space in disk, then it attempts to divide by 3 in order toget each signal's folder max size. intgetMaxCacheFileSize()-
-
Method Detail
-
create
static DiskManager create(DiskBufferingConfiguration config)
-
getSignalsBufferDir
File getSignalsBufferDir()
-
getTemporaryDir
File getTemporaryDir()
-
getMaxFolderSize
int getMaxFolderSize()
It checks for the available cache space in disk, then it attempts to divide by 3 in order toget each signal's folder max size. The resulting value is subtracted the max file size valuein order to account for temp files used during the reading process.
-
getMaxCacheFileSize
int getMaxCacheFileSize()
-
-
-
-