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 dataMemoryUsed statistic shows the amount of memory, in bytes, for a cache or cache container when eviction is enabled. This statistic is exposed through the CacheContainerStats and ClusterCacheStats MBeans.
  • The requiredMinimumNumberOfNodes statistic shows the number of nodes that are required to guarantee data consistency. This statistic is exposed through the Statistics MBean.

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.timeout specifies the time, in milliseconds, to wait for read operations to complete. The default is 0 which means unlimited wait time.
  • infinispan.spring.operation.write.timeout specifies the time, in milliseconds, to wait for write operations to complete. The default is 0 which 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.