缓存处理
This commit is contained in:
parent
3394b01962
commit
698f63507f
10
src/main/kotlin/com/xlf/dromstarkotlin/cache/CacheData.kt
vendored
Normal file
10
src/main/kotlin/com/xlf/dromstarkotlin/cache/CacheData.kt
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
package com.xlf.dromstarkotlin.cache
|
||||
|
||||
object CacheData {
|
||||
val tokenVisits = HashMap<String, CacheToken>()
|
||||
}
|
||||
|
||||
data class CacheToken(
|
||||
var count: Long = 0,
|
||||
val timestamp: Long,
|
||||
)
|
Loading…
Reference in New Issue
Block a user