Generated by
JDiff

org.infinispan.client.hotrod Documentation Differences

This file contains all the changes in documentation in the package org.infinispan.client.hotrod as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class Flag

Defines all the flags available in the Hot Rod client that can influence the behavior of operations.

Available flags:

@author Mircea.Markus@jboss.com @since 4.1

Class RemoteCacheManager

Factory for org.infinispan.client.hotrod.RemoteCaches.

Lifecycle:

In order to be able to use an org.infinispan.client.hotrod.RemoteCache, the org.infinispan.client.hotrod.RemoteCacheManager must be started first: beside other things, this instantiates connections to Hot Rod server(s). Starting the org.infinispan.client.hotrod.RemoteCacheManager can be done either at creation by passing start==true to constructor or by using a constructor that does that for you (see C-tor documentation); or after construction by calling .start().

This is an "expensive" object, as it manages a set of persistent TCP connections to the Hot Rod servers. It is recommended to only have one instance of this per JVM, and to cache it between calls to the server (i.e. remoteCache operations).

.stop() needs to be called explicitly in order to release all the resources (e.g. threads, TCP connections).

Configuration:

The cache manager is configured through a Configuration object passed to the constructor (there are also "simplified" constructors that rely on default values). If migrating from a previous version of Infinispan, where Properties were used to configure the RemoteCacheManager, please use the ConfigurationBuilder.withProperties(Properties) method.

Below is the list of supported configuration elements:


The following properties are related to connection pooling:

@author Mircea.Markus@jboss.com @since 4.1