Package io.siddhi.core.util.cache
Class CacheExpirer
- java.lang.Object
-
- io.siddhi.core.util.cache.CacheExpirer
-
public class CacheExpirer extends Object
this class has a runnable which runs on a separate thread called by AbstractQueryableRecordTable and handles cache expiry
-
-
Constructor Summary
Constructors Constructor Description CacheExpirer(long retentionPeriod, InMemoryTable cacheTable, Map<String,Table> tableMap, AbstractQueryableRecordTable storeTable, SiddhiAppContext siddhiAppContext)
-
-
-
Constructor Detail
-
CacheExpirer
public CacheExpirer(long retentionPeriod, InMemoryTable cacheTable, Map<String,Table> tableMap, AbstractQueryableRecordTable storeTable, SiddhiAppContext siddhiAppContext)
-
-
Method Detail
-
generateCacheExpirer
public Runnable generateCacheExpirer()
-
-