Light Novel Reader Api
Toggle table of contents
release
Target filter
release
Switch theme
Search in API
Skip to content
Light Novel Reader Api
Light Novel Reader Api
/
io.nightfish.lightnovelreader.api.util
/
Cache
/
Cache
Cache
constructor
(
maxCountEachType
:
Int
=
10
,
timeout
:
Int
)
Parameters
max
Count
Each
Type
每种类型最多缓存条数, 超出时会清除最早的缓存
timeout
缓存过期时间(毫秒), 默认为30秒