CleanNodeDatabaseUseCase
open class CleanNodeDatabaseUseCase(nodeRepository: ERROR CLASS: Symbol not found for NodeRepository, radioController: ERROR CLASS: Symbol not found for RadioController)(source)
Use case for cleaning up nodes from the database.
Constructors
Functions
Link copied to clipboard
Performs the cleanup of specified nodes.
Link copied to clipboard
suspend fun getNodesToClean(olderThanDays: Float, onlyUnknownNodes: Boolean, currentTimeSeconds: Long): List<ERROR CLASS: Symbol not found for Node>
Identifies nodes that match the cleanup criteria.