Chapter 3. New Features and Enhancements
3.1. JMX MBeans Provide Statistics in Nanoseconds
The following JMX MBeans in JBoss Data Grid now include statistics about read and write operations in nanoseconds:
-
CacheContainerStats -
ClusterCacheStats -
Statistics
For more information, see JMX MBeans in the Administration and Configuration Guide.
3.2. Statistics Improvements
Several improvements have been made to statistics that are exposed via JMX MBeans in JBoss Data Grid.
-
The
dataMemoryUsedstatistic shows the amount of memory, in bytes, for a cache or cache container when eviction is enabled. This statistic is exposed through theCacheContainerStatsandClusterCacheStatsMBeans. -
The
requiredMinimumNumberOfNodesstatistic shows the number of nodes that are required to guarantee data consistency. This statistic is exposed through theStatisticsMBean.
For more information, see JMX MBeans in the Administration and Configuration Guide.
3.3. Configurable Timeouts for Operations with Spring Cache
When using JBoss Data Grid as a Spring Cache provider, you can now configure timeouts for read and write operations on the cache with the following properties:
-
infinispan.spring.operation.read.timeoutspecifies the time, in milliseconds, to wait for read operations to complete. The default is0which means unlimited wait time. -
infinispan.spring.operation.write.timeoutspecifies the time, in milliseconds, to wait for write operations to complete. The default is0which means unlimited wait time.
For more information, see Integration with the Spring Framework in the Developer Guide.
3.4. Hot Rod Node.js Client Enhancements
This release improves the Hot Rod Node.js client by including memory profiling capabilities and enhancements to avoid excessive memory consumption.
For more information, see Memory Profiling with the Hot Rod Node.js Client in the Developer Guide.
3.5. TCP Keepalive Configuration Parameter for Server Connections
This release includes a tcpKeepAlive() method in the org.infinispan.server.core.configuration.ProtocolServerConfigurationChildBuilder interface. You can use this method to configure JBoss Data Grid server to keep TCP connections active. The default is to disable TCP keepalive.
3.6. Performance Improvements to Generated Ickle Queries
The org.infinispan.query.dsl.QueryBuilder interface has been improved so that the Ickle queries it generates are easier to parse.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.