Timeout

Timeout: 标记超时时长,用于支持动态改变超时时长

Author

Jenly

Functions

Link copied to clipboard
abstract fun annotationType(): Class<out Annotation>
Link copied to clipboard
abstract fun connectTimeout(): Int
连接超时 时长(默认:10秒),时间单位可参见:timeUnit
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun readTimeout(): Int
读取超时 时长(默认:10秒),时间单位可参见:timeUnit
Link copied to clipboard
abstract fun timeUnit(): TimeUnit
时间单位
Link copied to clipboard
abstract fun toString(): String
Link copied to clipboard
abstract fun writeTimeout(): Int
写入超时 时长(默认:10秒),时间单位可参见:timeUnit