public class BasicCacheStrategy extends Object implements CacheStrategy
| Constructor and Description |
|---|
BasicCacheStrategy() |
| 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
|
void |
onDelete(String experimentName,
CachingContext context)
Fires when an experiment is deleted from the store
|
void |
onLoad(Experiment experiment,
CachingContext context)
Fires when an experiment is loaded from the store
|
void |
onSave(Experiment experiment,
CachingContext context)
Fires when an experiment is saved to the store
|
public void onLoad(Experiment experiment, CachingContext context)
CacheStrategyonLoad in interface CacheStrategypublic void onSave(Experiment experiment, CachingContext context)
CacheStrategyonSave in interface CacheStrategypublic void onDelete(String experimentName, CachingContext context)
CacheStrategyonDelete in interface CacheStrategypublic void onCacheRead(String experimentName, CachingContext context)
CacheStrategyonCacheRead in interface CacheStrategypublic void onCacheRead(CachingContext context)
CacheStrategyonCacheRead in interface CacheStrategyCopyright © 2020. All rights reserved.