Chapter 14. Features and Functionality Deprecated in Data Grid 7.3
This release of Data Grid deprecates various features and functional components.
Deprecated functionality continues to be supported until Data Grid 7.x end of life. Deprecated functionality will not be supported in future major releases and is not recommended for new deployments.
This information is current as of the time of writing. You can review all the deprecated code for the next major release with JDG-1978.
- Hot Rod v1.x
- Hot Rod protocol version 1.x will not be supported in the next major release.
- RocksDB Replaces LevelDB Cache Store
- As of this release, the LevelDB cache store is deprecated and replaced with the RocksDB cache store. If you have data stored in a LevelDB cache store, the RocksDB cache store converts it to the SST-based format on the first run.
RocksDB provides superior performance and reliability, especially in highly concurrent scenarios. Find out more about the RocksDB cache store in the documentation.
- Compatibility Mode
Compatibility mode is deprecated and will be removed in the next major release. To access a cache from multiple endpoints, you should store data in binary format and configure the
MediaType
for keys and values. See the following topics for more information:- Protocol Interoperability
If you want to store data as unmarshalled objects, you should configure keys and values to store object content as follows:
<encoding> <key media-type="application/x-java-object"/> <value media-type="application/x-java-object"/> </encoding>
- Clustered Executor Replaces Distributed Executor API
Data Grid replaces Distributed Executor with Clustered Executor, which is a utility for executing arbitrary code in the cluster. See:
- RemoteCache
getBulk()
-
The
getBulk()
method is deprecated in theRemoteCache
interface. See: org.infinispan.client.hotrod.RemoteCache. - Agroal PooledConnectionFactory Replaces c3p0/HikariCP JDBC PooledConnectionFactory
-
The JDBC
PooledConnectionFactory
provides connection pools that you configure withc3p0.properties
andhikari.properties
. In the next major release, Data Grid provides aPooledConnectionFactory
that you configure only with an agroal compatible properties file. See Agroal project. - CLI Loader
-
infinispan-persistence-cli
is now deprecated and will be removed in the next major version. - Deprecated Classes
-
org.infinispan.lifecycle.AbstractModuleLifecycle
-
org.infinispan.lifecycle.Lifecycle
-
- Eager Near Caching Residual Code
- Residual code artifacts for eager near caching functionality will be removed in the next major version.