| Package | Description |
|---|---|
| org.infinispan.interceptors.distribution |
Interceptors dealing with command replication in distributed/replicated mode.
|
| org.infinispan.interceptors.impl |
Basic interceptors
|
| org.infinispan.remoting |
Remote communication between cache instances.
|
| org.infinispan.remoting.inboundhandler |
Handling of inbound commands on remote nodes.
|
| org.infinispan.remoting.responses |
Abstractions of the different response types allowed during RPC.
|
| org.infinispan.remoting.rpc |
Remote Procedure Call (RPC) interfaces and components used to invoke remote methods on cache instances.
|
| org.infinispan.remoting.transport |
Transports handle the low-level networking, used by the remoting components.
|
| org.infinispan.remoting.transport.impl | |
| org.infinispan.remoting.transport.jgroups |
A transport implementation based on JGroups.
|
| org.infinispan.statetransfer |
Transfer of state to new caches in a cluster.
|
| org.infinispan.transaction.impl | |
| org.infinispan.util.logging |
Infinispan's logging abstractions that delegate to either JDK or Log4J logging engines.
|
| Modifier and Type | Method and Description |
|---|---|
default ValidResponse |
BiasedCollector.addResponse(Address sender,
Response response) |
SuccessfulResponse |
RemoteGetSingleKeyCollector.addResponse(Address sender,
Response response) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TxDistributionInterceptor.checkTxCommandResponses(Map<Address,Response> responseMap,
TransactionBoundaryCommand command,
TxInvocationContext<LocalTransaction> context,
Collection<Address> recipients,
PrepareResponse prepareResponse) |
| Modifier and Type | Method and Description |
|---|---|
protected static RuntimeException |
ClusteringInterceptor.unexpected(Address sender,
Response response) |
| Modifier and Type | Method and Description |
|---|---|
protected static SuccessfulResponse |
ClusteringInterceptor.getSuccessfulResponseOrFail(Map<Address,Response> responseMap,
CompletableFuture<?> future,
Consumer<Response> cacheNotFound) |
protected static SuccessfulResponse |
ClusteringInterceptor.getSuccessfulResponseOrFail(Map<Address,Response> responseMap,
CompletableFuture<?> future,
Consumer<Response> cacheNotFound) |
| Modifier and Type | Method and Description |
|---|---|
Response |
LocalInvocation.apply(Object retVal) |
Response |
LocalInvocation.call() |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<Response> |
LocalInvocation.callAsync() |
| Modifier and Type | Field and Description |
|---|---|
protected Response |
BaseBlockingRunnable.response |
| Modifier and Type | Method and Description |
|---|---|
protected CompletableFuture<Response> |
DefaultTopologyRunnable.beforeInvoke() |
protected CompletableFuture<Response> |
BaseBlockingRunnable.beforeInvoke() |
| Modifier and Type | Method and Description |
|---|---|
void |
Reply.reply(Response response)
Sends back the return value to the sender.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BiasRevocationResponse |
class |
CacheNotFoundResponse
A response that signals the named cache is not running on the target node.
|
class |
ExceptionResponse
A response that encapsulates an exception
|
class |
InvalidResponse
An invalid response
|
class |
PrepareResponse
A
ValidResponse used by Optimistic Transactions. |
class |
SuccessfulResponse<T>
A successful response
|
class |
UnsuccessfulResponse
An unsuccessful response
|
class |
UnsureResponse
An unsure response - used with Dist - essentially asks the caller to check the next response from the next node since
the sender is in a state of flux (probably in the middle of rebalancing)
|
class |
ValidResponse
A valid response
|
| Modifier and Type | Method and Description |
|---|---|
Response |
DefaultResponseGenerator.getResponse(CacheRpcCommand command,
Object returnValue) |
Response |
ResponseGenerator.getResponse(CacheRpcCommand command,
Object returnValue) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ClusteredGetResponseValidityFilter.isAcceptable(Response response,
Address address) |
boolean |
IgnoreExtraResponsesValidityFilter.isAcceptable(Response response,
Address address) |
| Modifier and Type | Method and Description |
|---|---|
default CompletableFuture<Map<Address,Response>> |
RpcManager.invokeRemotelyAsync(Collection<Address> recipients,
ReplicableCommand rpc,
RpcOptions options)
Deprecated.
|
CompletableFuture<Map<Address,Response>> |
RpcManagerImpl.invokeRemotelyAsync(Collection<Address> recipients,
ReplicableCommand rpc,
RpcOptions options) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ResponseFilter.isAcceptable(Response response,
Address sender)
Determines whether a response from a given sender should be added to the response list of the request
|
| Modifier and Type | Method and Description |
|---|---|
Response |
AbstractTransport.checkResponse(Object responseObject,
Address sender,
boolean ignoreCacheNotFoundResponse)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Address,Response> |
AbstractDelegatingTransport.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpcCommand,
ResponseMode mode,
long timeout,
ResponseFilter responseFilter,
DeliverOrder deliverOrder,
boolean anycast)
Deprecated.
|
default Map<Address,Response> |
Transport.invokeRemotely(Collection<Address> recipients,
ReplicableCommand rpcCommand,
ResponseMode mode,
long timeout,
ResponseFilter responseFilter,
DeliverOrder deliverOrder,
boolean anycast)
Deprecated.
Since 9.2, please use
Transport.invokeCommand(Collection, ReplicableCommand, ResponseCollector, DeliverOrder, long, TimeUnit) instead. |
Map<Address,Response> |
AbstractDelegatingTransport.invokeRemotely(Map<Address,ReplicableCommand> rpcCommands,
ResponseMode mode,
long timeout,
boolean usePriorityQueue,
ResponseFilter responseFilter,
boolean totalOrder,
boolean anycast)
Deprecated.
|
default Map<Address,Response> |
Transport.invokeRemotely(Map<Address,ReplicableCommand> rpcCommands,
ResponseMode mode,
long timeout,
boolean usePriorityQueue,
ResponseFilter responseFilter,
boolean totalOrder,
boolean anycast)
Deprecated.
|
Map<Address,Response> |
AbstractDelegatingTransport.invokeRemotely(Map<Address,ReplicableCommand> rpcCommands,
ResponseMode mode,
long timeout,
ResponseFilter responseFilter,
DeliverOrder deliverOrder,
boolean anycast)
Deprecated.
|
default Map<Address,Response> |
Transport.invokeRemotely(Map<Address,ReplicableCommand> rpcCommands,
ResponseMode mode,
long timeout,
ResponseFilter responseFilter,
DeliverOrder deliverOrder,
boolean anycast)
Deprecated.
Since 9.2, please use
Transport.invokeRemotelyAsync(Collection, ReplicableCommand, ResponseMode, long, ResponseFilter, DeliverOrder, boolean) instead. |
CompletableFuture<Map<Address,Response>> |
AbstractDelegatingTransport.invokeRemotelyAsync(Collection<Address> recipients,
ReplicableCommand rpcCommand,
ResponseMode mode,
long timeout,
ResponseFilter responseFilter,
DeliverOrder deliverOrder,
boolean anycast) |
CompletableFuture<Map<Address,Response>> |
Transport.invokeRemotelyAsync(Collection<Address> recipients,
ReplicableCommand rpcCommand,
ResponseMode mode,
long timeout,
ResponseFilter responseFilter,
DeliverOrder deliverOrder,
boolean anycast) |
| Modifier and Type | Method and Description |
|---|---|
T |
ValidResponseCollector.addResponse(Address sender,
Response response) |
T |
ValidSingleResponseCollector.addResponse(Address sender,
Response response) |
T |
ResponseCollector.addResponse(Address sender,
Response response)
Called when a response is received, or when a target node becomes unavailable.
|
| Modifier and Type | Field and Description |
|---|---|
protected HashMap<Address,Response> |
MapResponseCollector.map |
| Modifier and Type | Method and Description |
|---|---|
Response |
PassthroughSingleResponseCollector.addResponse(Address sender,
Response response) |
Response |
PassthroughSingleResponseCollector.finish() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<Address,Response> |
FilterMapResponseCollector.addException(Address sender,
Exception exception) |
protected Map<Address,Response> |
MapResponseCollector.addException(Address sender,
Exception exception) |
Map<Address,Response> |
PassthroughMapResponseCollector.addResponse(Address sender,
Response response) |
protected Map<Address,Response> |
FilterMapResponseCollector.addTargetNotFound(Address sender) |
protected Map<Address,Response> |
FilterMapResponseCollector.addValidResponse(Address sender,
ValidResponse response) |
protected Map<Address,Response> |
MapResponseCollector.addValidResponse(Address sender,
ValidResponse response) |
Map<Address,Response> |
FilterMapResponseCollector.finish() |
Map<Address,Response> |
MapResponseCollector.finish() |
Map<Address,Response> |
PassthroughMapResponseCollector.finish() |
protected Map<Address,Response> |
SingletonMapResponseCollector.targetNotFound(Address sender) |
protected Map<Address,Response> |
SingletonMapResponseCollector.withValidResponse(Address sender,
ValidResponse response) |
| Modifier and Type | Method and Description |
|---|---|
Response |
PassthroughSingleResponseCollector.addResponse(Address sender,
Response response) |
Map<Address,Response> |
PassthroughMapResponseCollector.addResponse(Address sender,
Response response) |
void |
RequestRepository.addResponse(long requestId,
Address sender,
Response response) |
void |
MultiTargetRequest.onResponse(Address sender,
Response response) |
void |
Request.onResponse(Address sender,
Response response)
Called when a response is received for this response.
|
void |
SingleTargetRequest.onResponse(Address sender,
Response response) |
| Modifier and Type | Method and Description |
|---|---|
Map<Address,Response> |
JGroupsTransport.invokeRemotely(Map<Address,ReplicableCommand> commands,
ResponseMode mode,
long timeout,
ResponseFilter responseFilter,
DeliverOrder deliverOrder,
boolean anycast)
Deprecated.
|
CompletableFuture<Map<Address,Response>> |
JGroupsTransport.invokeRemotelyAsync(Collection<Address> recipients,
ReplicableCommand command,
ResponseMode mode,
long timeout,
ResponseFilter responseFilter,
DeliverOrder deliverOrder,
boolean anycast) |
| Modifier and Type | Method and Description |
|---|---|
void |
SingleSiteRequest.onResponse(Address sender,
Response response) |
void |
StaggeredRequest.onResponse(Address sender,
Response response) |
| Modifier and Type | Method and Description |
|---|---|
Map<Address,Response> |
StateTransferManager.forwardCommandIfNeeded(TopologyAffectedCommand command,
Set<Object> affectedKeys,
Address origin)
If there is an state transfer happening at the moment, this method forwards the supplied
command to the nodes that are new owners of the data, in order to assure consistency.
|
Map<Address,Response> |
StateTransferManagerImpl.forwardCommandIfNeeded(TopologyAffectedCommand command,
Set<Object> affectedKeys,
Address origin) |
| Modifier and Type | Method and Description |
|---|---|
static void |
WriteSkewHelper.mergePrepareResponses(Response r,
PrepareResponse aggregateResponse) |
| Modifier and Type | Method and Description |
|---|---|
IllegalArgumentException |
Log.unexpectedResponse(Address target,
Response response) |
IllegalArgumentException |
Log_$logger.unexpectedResponse(Address target,
Response response) |
void |
Log.unsuccessfulResponseForClusterListeners(Address address,
Response response) |
void |
Log_$logger.unsuccessfulResponseForClusterListeners(Address address,
Response response) |
void |
Log.unsuccessfulResponseRetrievingTransactionsForSegments(Address address,
Response response) |
void |
Log_$logger.unsuccessfulResponseRetrievingTransactionsForSegments(Address address,
Response response) |
| Modifier and Type | Method and Description |
|---|---|
void |
Log.expectedJustOneResponse(Map<Address,Response> lr) |
void |
Log_$logger.expectedJustOneResponse(Map<Address,Response> lr) |
void |
Log.unknownResponsesFromRemoteCache(Collection<Response> responses) |
void |
Log_$logger.unknownResponsesFromRemoteCache(Collection<Response> responses) |
Copyright © 2022 JBoss by Red Hat. All rights reserved.