public class PeriodicStaleCheckingCacheStrategy extends BasicCacheStrategy
| Constructor and Description |
|---|
PeriodicStaleCheckingCacheStrategy(org.joda.time.Duration period) |
| Modifier and Type | Method and Description |
|---|---|
void |
onCacheRead(CachingContext context)
Fires before all experiments are read from the cache
|
void |
onCacheRead(String experimentName,
CachingContext context)
Fires before an experiment is read from the cache
|
onDelete, onLoad, onSavepublic PeriodicStaleCheckingCacheStrategy(org.joda.time.Duration period)
public void onCacheRead(String experimentName, CachingContext context)
CacheStrategyonCacheRead in interface CacheStrategyonCacheRead in class BasicCacheStrategypublic void onCacheRead(CachingContext context)
CacheStrategyonCacheRead in interface CacheStrategyonCacheRead in class BasicCacheStrategyCopyright © 2020. All rights reserved.