API Documentation
Javadocs for Red Hat JBoss Data Grid 7.0
Abstract
Select one of the following links to view the Red Hat JBoss Data Grid Javadocs:
The API for the Hot Rod Clients are found below:
Additional clients are included with JBoss Data Grid, and their APIs, as it pertains to JBoss Data Grid, are included below:
Configuration schemas are XML files that contain a list of elements that may be used in configuration files to control the behavior of JBoss Data Grid. Click the link to view the Configuration Schemas.
The following items have been modified in Red Hat JBoss Data Grid 7.0:
- The package containing the CDI modules has changed; all of these classes have moved from
org.infinispan.cdi
toorg.infinispan.cdi.embedded
, and any applications utilizing CDI should have their imports updated to use the new packages. Additionally, the CDI extensions have been split into two classes:- CDI Classes that begin with
Injected
before the classname, such asorg.infinispan.jcache.annotation.InjectedCacheResultInterceptor
. These classes are intended for use in managed environments, such as JBoss EAP. - CDI classes without
Injected
before the classname, such asorg.infinispan.jcache.annotation.CacheResultInterceptor
- This class should be used in standalone environments.
- The Hibernate Search modules have been upgraded from 4.6 to 5.6, and as such there have been significant changes to this component. For a full list of the steps needed to migrate applications that use this component from JBoss Data Grid 6.x to 7.x refer to the Migration Guide.
The following items have been deprecated in Red Hat JBoss Data Grid 7.0:
- Support for custom interceptors is being deprecated in JBoss Data Grid 7.0. A new method of executing custom interceptors is expected to be introduced in JBoss Data Grid 7.1. In addition, the interceptor stack is part of JBoss Data Grid's internal API, and is subject to change from release to release. Due to this it is not recommended to use custom interceptors directly from your application.
- The following methods of
RemoteCache
have been deprecated:remoteCache.getVersioned
- this method has been replaced byremoteCache.getWithMetadata(Object)
.remoteCache.getBulk, getBulk(size)
- Both of these methods have proven expensive for large data sets. TheremoteCache.retrieveEntries*
methods offer a lazy, pull-style, approach which retrieves bulk data more efficiently.
The following items have been removed in Red Hat JBoss Data Grid 7.0:
- The
NotifyingFuture
interface has been removed in JBoss Data Grid 7.0 and replaced withCompletableFuture
. This class was replaced due toCompletableFuture
being included as a standard class in Java 8, allowing for additional features such as chaining, implementing constructs such as conditionals, and timeouts to be utilized without introducing additional custom code. Any applications previously utilizingNotifyingFuture
should be updated to referenceCompletableFuture
instead. - Support for Spring 3 has been removed; any applications previously using Spring 3 should be rewritten to use Spring 4, instead.
- Map/Reduce has been removed in JBoss Data Grid 7.0.0. This feature has been replaced by Distributed Streams, which were shown to have better performance.