Search

Chapter 3. New Features and Enhancements

download PDF

3.1. Configurable Whitelist for Deserialization

By default the JBoss Data Grid server allows deserialization only for strings and primitives. As of this release, you can specify other Java class instances in a whitelist so that JBoss Data Grid deserializes objects that belong to those classes.

Note

If you do not add your application classes to the whitelist, JBoss Data Grid does not deserialize objects that belong to those classes.

On the client side, you can add a whitelist to restrict deserialization to objects that belong to specific Java classes.

For more information, see the following:

3.2. Disabling Indexing for Protobuf Schema Files

After you enable indexing for a cache, all fields of Protobuf encoded entries are indexed by default. This indexing can be inefficient when handling Protobuf message types that have many or large fields. You can now disable indexing for all Protobuf message types that are not annotated with the indexed_by_default option. For more information, see Disabling Indexing for All Protobuf Message Types in the Developer Guide.

3.3. Expose Query.getQueryString() as official API

As of this release, the org.infinispan.query.dsl.Query interface exposes the underlying Ickle query string with the Query.getQueryString() method. This applies to all queries regardless of whether the query was created by a DSL QueryBuilder or from a query string.

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.