public void setAllFrom ( OnDemandIndexStats onDemandStats ) { this . creationTime = onDemandStats . getCreationTime ( ) ; this . hitCount = onDemandStats . getHitCount ( ) ; this . queryCount = onDemandStats . getQueryCount ( ) ; this . averageHitSelectivity = onDemandStats . getAverageHitSelectivity ( ) ; this . averageHitLatency = onDemandStats . getAverageHitLatency ( ) ; this . insertCount = onDemandStats . getInsertCount ( ) ; this . totalInsertLatency = onDemandStats . getTotalInsertLatency ( ) ; this . updateCount = onDemandStats . getUpdateCount ( ) ; this . totalUpdateLatency = onDemandStats . getTotalUpdateLatency ( ) ; this . removeCount = onDemandStats . getRemoveCount ( ) ; this . totalRemoveLatency = onDemandStats . getTotalRemoveLatency ( ) ; this . memoryCost = onDemandStats . getMemoryCost ( ) ; }
Sets all the values in this stats to the corresponding values in the given on - demand stats .