FixedRateTask

data class FixedRateTask(innerTask: Runnable, intervalInMills: Long)

固定频率执行的任务

Parameters

innerTask

重复执行的任务

intervalInMills

固定的频率,毫秒为单位

Constructors

FixedRateTask
Link copied to clipboard
fun FixedRateTask(innerTask: Runnable, intervalInMills: Long)
重复执行的任务

Functions

component1
Link copied to clipboard
operator fun component1(): Runnable
component2
Link copied to clipboard
operator fun component2(): Long
copy
Link copied to clipboard
fun copy(innerTask: Runnable, intervalInMills: Long): FixedRateTask
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

innerTask
Link copied to clipboard
val innerTask: Runnable
重复执行的任务
intervalInMills
Link copied to clipboard
val intervalInMills: Long
固定的频率,毫秒为单位