public class CachingStatsSource extends Object implements StatsSource
| Constructor and Description |
|---|
CachingStatsSource(int cacheSize) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canProvideStatsFor(Class<?> clazz) |
Optional<OperatorStats> |
lookup(OpTreeSignature treeSig) |
void |
put(OpTreeSignature sig,
OperatorStats opStat) |
void |
putAll(Map<OpTreeSignature,OperatorStats> map) |
public void put(OpTreeSignature sig, OperatorStats opStat)
public Optional<OperatorStats> lookup(OpTreeSignature treeSig)
lookup in interface StatsSourcepublic boolean canProvideStatsFor(Class<?> clazz)
canProvideStatsFor in interface StatsSourcepublic void putAll(Map<OpTreeSignature,OperatorStats> map)
putAll in interface StatsSourceCopyright © 2019 The Apache Software Foundation. All Rights Reserved.