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 StatsSource
public boolean canProvideStatsFor(Class<?> clazz)
canProvideStatsFor
in interface StatsSource
public void putAll(Map<OpTreeSignature,OperatorStats> map)
putAll
in interface StatsSource
Copyright © 2022 The Apache Software Foundation. All rights reserved.