ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kaleid <per.johans...@tangotelecom.com>
Subject Re: getAverageGetTime/getAveragePutTime APIs of CacheMetrics always return 0
Date Tue, 07 Nov 2017 09:07:06 GMT
Hi,

Using 2.2.0 and looking at the JMX stats, AverageGetTime and AveragePutTime
are always 0 (other stats, like CacheGets, are updated as expected)

Using cache configuration as:

  <bean class="org.apache.ignite.configuration.CacheConfiguration">
                    <property name="name" value="test-map"/>
                    <property name="atomicityMode" value="ATOMIC"/>
                    <property name="cacheMode" value="PARTITIONED" />
                    <property name="managementEnabled" value="true" />
                    <property name="statisticsEnabled" value="true" />
                    <property name="backups" value="0"/>

                    <property name="queryEntities">
                        <list>
                            <bean
class="org.apache.ignite.cache.QueryEntity">
                                
                                <property name="keyType"
value="java.lang.String"/>

                                
                                <property name="valueType"
value="com.foo.TestEntry"/>

                                
                                <property name="fields">
                                    <map>
                                        <entry key="user"
value="java.lang.String"/>
                                    </map>
                                </property>

                                
                                <property name="indexes">
                                    <list>
                                        <bean
class="org.apache.ignite.cache.QueryIndex">
                                            <constructor-arg value="user"/>
                                        </bean>
                                    </list>
                                </property>
                            </bean>
                        </list>
                    </property>
                </bean>

Regards,
Per



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Mime
View raw message