![]() |
Consumption Analytics Documentation |
Rounds the values of the resources based on the specified scale and rounding mode.
<bean class="com.cloudcruiser.batch.transform.RoundResourceValues">
<batch:step id="transform" next="charge">
<batch:tasklet>
<bean class="com.cloudcruiser.batch.CCRecordTransformTasklet">
<property name="processors">
<list>
<bean class="com.cloudcruiser.batch.transform.RoundResourceValues">
<property name="active" value="true" />
<property name="roundingMode" value="HALF_EVEN" />
<property name="scale" value="2" />
<property name="resourcePattern" value="temp.*" />
<property name="resources" value="IPSpaceCidrMask,AnotherResource" />
</bean>
</list>
</property>
</bean>
</batch:tasklet>
</batch:step>
(c) Copyright 2017-2020 Hewlett Packard Enterprise Development LP