如何在 ehcache 中区分生存时间和闲置时间
关于ehache的文档说:
timeToIdleSeconds: Sets the time to idle for an element before it expires.
i.e. The maximum amount of time between accesses before an element expires
timeToLiveSeconds: Sets the time to live for an element before it expires.
i.e. The maximum time between creation time and when an element expires.
我了解时间到IdleSeconds
但是,这是否意味着在创建并首次访问缓存项后,TimeToLiveSeconds不再适用?