Package io.higson.runtime.evict
Class ParamEvictor
java.lang.Object
io.higson.runtime.evict.ParamEvictor
-
Constructor Summary
ConstructorsConstructorDescriptionParamEvictor(PreparedParamCache indexCache) ParamEvictor(PreparedParamCache indexCache, Clock clock) -
Method Summary
-
Constructor Details
-
ParamEvictor
-
ParamEvictor
-
-
Method Details
-
evict
public void evict()Checks each cached parameter (in-memory index). Evicts parameter from cache if: - the parameter's auto-refresh period has expired - the parameter's max idle time exceeded
-