public static AbstractMetricsRW getMetricsRWForRollupType(RollupType rollupType) {
        if (rollupType == null || rollupType == RollupType.BF_BASIC ) {
            return IOContainer.fromConfig().getBasicMetricsRW();
        } else {
            return IOContainer.fromConfig().getPreAggregatedMetricsRW();
        }
    }
public static AbstractMetricsRW getMetricsRWForRollupType(RollupType rollupType) {
        if (rollupType == null || rollupType == RollupType.BF_BASIC ) {
            return IOContainer.fromConfig().getBasicMetricsRW();
        } else {
            return IOContainer.fromConfig().getPreAggregatedMetricsRW();
        }
    }
public static AbstractMetricsRW getMetricsRWForRollupType ( RollupType rollupType ) { if ( rollupType == null || rollupType == RollupType . BF_BASIC ) { return IOContainer . fromConfig ( ) . getBasicMetricsRW ( ) ; } else { return IOContainer . fromConfig ( ) . getPreAggregatedMetricsRW ( ) ; } }
For a particular rollupType, determine what is the proper class to do
read/write with and return that

@param rollupType
@return
For a particular rollupType determine what is the proper class to do read / write with and return that