Uses of Interface
org.infinispan.remoting.responses.Response
-
Packages that use Response Package Description org.infinispan.extendedstats.wrappers org.infinispan.interceptors.distribution Interceptors dealing with command replication in distributed/replicated mode.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.jgroups A transport implementation based on JGroups.org.infinispan.statetransfer Transfer of state to new caches in a cluster. -
-
Uses of Response in org.infinispan.extendedstats.wrappers
Methods in org.infinispan.extendedstats.wrappers that return types with arguments of type Response Modifier and Type Method Description java.util.Map<Address,Response>
ExtendedStatisticRpcManager. invokeRemotely(java.util.Collection<Address> recipients, org.infinispan.commands.ReplicableCommand rpc, RpcOptions options)
java.util.Map<Address,Response>
ExtendedStatisticRpcManager. invokeRemotely(java.util.Map<Address,org.infinispan.commands.ReplicableCommand> rpcs, RpcOptions options)
java.util.concurrent.CompletableFuture<java.util.Map<Address,Response>>
ExtendedStatisticRpcManager. invokeRemotelyAsync(java.util.Collection<Address> recipients, org.infinispan.commands.ReplicableCommand rpc, RpcOptions options)
-
Uses of Response in org.infinispan.interceptors.distribution
Methods in org.infinispan.interceptors.distribution with parameters of type Response Modifier and Type Method Description default ValidResponse
BiasedCollector. addResponse(Address sender, Response response)
SuccessfulResponse
RemoteGetSingleKeyCollector. addResponse(Address sender, Response response)
Method parameters in org.infinispan.interceptors.distribution with type arguments of type Response Modifier and Type Method Description protected void
TxDistributionInterceptor. checkTxCommandResponses(java.util.Map<Address,Response> responseMap, org.infinispan.commands.tx.TransactionBoundaryCommand command, org.infinispan.context.impl.TxInvocationContext<org.infinispan.transaction.impl.LocalTransaction> context, java.util.Collection<Address> recipients)
-
Uses of Response in org.infinispan.remoting
Methods in org.infinispan.remoting that return Response Modifier and Type Method Description Response
LocalInvocation. apply(java.lang.Object retVal)
Response
LocalInvocation. call()
Methods in org.infinispan.remoting that return types with arguments of type Response Modifier and Type Method Description java.util.concurrent.CompletableFuture<Response>
LocalInvocation. callAsync()
-
Uses of Response in org.infinispan.remoting.inboundhandler
Fields in org.infinispan.remoting.inboundhandler declared as Response Modifier and Type Field Description protected Response
BaseBlockingRunnable. response
Methods in org.infinispan.remoting.inboundhandler that return types with arguments of type Response Modifier and Type Method Description protected java.util.concurrent.CompletableFuture<Response>
BaseBlockingRunnable. beforeInvoke()
protected java.util.concurrent.CompletableFuture<Response>
DefaultTopologyRunnable. beforeInvoke()
Methods in org.infinispan.remoting.inboundhandler with parameters of type Response Modifier and Type Method Description void
Reply. reply(Response response)
Sends back the return value to the sender. -
Uses of Response in org.infinispan.remoting.responses
Classes in org.infinispan.remoting.responses that implement Response Modifier and Type Class 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 exceptionclass
InvalidResponse
An invalid responseclass
SuccessfulResponse
A successful responseclass
UnsuccessfulResponse
An unsuccessful responseclass
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 responseMethods in org.infinispan.remoting.responses that return Response Modifier and Type Method Description Response
DefaultResponseGenerator. getResponse(org.infinispan.commands.remote.CacheRpcCommand command, java.lang.Object returnValue)
Response
ResponseGenerator. getResponse(org.infinispan.commands.remote.CacheRpcCommand command, java.lang.Object returnValue)
Methods in org.infinispan.remoting.responses with parameters of type Response Modifier and Type Method Description boolean
ClusteredGetResponseValidityFilter. isAcceptable(Response response, Address address)
boolean
IgnoreExtraResponsesValidityFilter. isAcceptable(Response response, Address address)
-
Uses of Response in org.infinispan.remoting.rpc
Methods in org.infinispan.remoting.rpc that return types with arguments of type Response Modifier and Type Method Description java.util.Map<Address,Response>
RpcManager. invokeRemotely(java.util.Collection<Address> recipients, org.infinispan.commands.ReplicableCommand rpc, RpcOptions options)
Deprecated.Since 9.2, please useRpcManager.invokeCommand(Collection, ReplicableCommand, ResponseCollector, RpcOptions)
instead.java.util.Map<Address,Response>
RpcManager. invokeRemotely(java.util.Map<Address,org.infinispan.commands.ReplicableCommand> rpcs, RpcOptions options)
Deprecated.Since 9.2, please useRpcManager.invokeCommands(Collection, Function, ResponseCollector, RpcOptions)
instead.java.util.Map<Address,Response>
RpcManagerImpl. invokeRemotely(java.util.Collection<Address> recipients, org.infinispan.commands.ReplicableCommand rpc, RpcOptions options)
java.util.Map<Address,Response>
RpcManagerImpl. invokeRemotely(java.util.Map<Address,org.infinispan.commands.ReplicableCommand> rpcs, RpcOptions options)
java.util.concurrent.CompletableFuture<java.util.Map<Address,Response>>
RpcManager. invokeRemotelyAsync(java.util.Collection<Address> recipients, org.infinispan.commands.ReplicableCommand rpc, RpcOptions options)
Invokes a command on remote nodes.java.util.concurrent.CompletableFuture<java.util.Map<Address,Response>>
RpcManagerImpl. invokeRemotelyAsync(java.util.Collection<Address> recipients, org.infinispan.commands.ReplicableCommand rpc, RpcOptions options)
Methods in org.infinispan.remoting.rpc with parameters of type Response Modifier and Type Method 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 -
Uses of Response in org.infinispan.remoting.transport
Methods in org.infinispan.remoting.transport that return Response Modifier and Type Method Description Response
AbstractTransport. checkResponse(java.lang.Object responseObject, Address sender, boolean ignoreCacheNotFoundResponse)
Deprecated.Methods in org.infinispan.remoting.transport that return types with arguments of type Response Modifier and Type Method Description protected java.util.Map<Address,Response>
AbstractDelegatingTransport. afterInvokeRemotely(org.infinispan.commands.ReplicableCommand command, java.util.Map<Address,Response> responseMap)
method invoked after a successful remote invocation.java.util.Map<Address,Response>
AbstractDelegatingTransport. invokeRemotely(java.util.Collection<Address> recipients, org.infinispan.commands.ReplicableCommand rpcCommand, ResponseMode mode, long timeout, ResponseFilter responseFilter, DeliverOrder deliverOrder, boolean anycast)
java.util.Map<Address,Response>
AbstractDelegatingTransport. invokeRemotely(java.util.Map<Address,org.infinispan.commands.ReplicableCommand> rpcCommands, ResponseMode mode, long timeout, boolean usePriorityQueue, ResponseFilter responseFilter, boolean totalOrder, boolean anycast)
java.util.Map<Address,Response>
AbstractDelegatingTransport. invokeRemotely(java.util.Map<Address,org.infinispan.commands.ReplicableCommand> rpcCommands, ResponseMode mode, long timeout, ResponseFilter responseFilter, DeliverOrder deliverOrder, boolean anycast)
default java.util.Map<Address,Response>
Transport. invokeRemotely(java.util.Collection<Address> recipients, org.infinispan.commands.ReplicableCommand rpcCommand, ResponseMode mode, long timeout, ResponseFilter responseFilter, DeliverOrder deliverOrder, boolean anycast)
Deprecated.Since 9.2, please useTransport.invokeCommand(Collection, ReplicableCommand, ResponseCollector, DeliverOrder, long, TimeUnit)
instead.default java.util.Map<Address,Response>
Transport. invokeRemotely(java.util.Map<Address,org.infinispan.commands.ReplicableCommand> rpcCommands, ResponseMode mode, long timeout, boolean usePriorityQueue, ResponseFilter responseFilter, boolean totalOrder, boolean anycast)
Deprecated.default java.util.Map<Address,Response>
Transport. invokeRemotely(java.util.Map<Address,org.infinispan.commands.ReplicableCommand> rpcCommands, ResponseMode mode, long timeout, ResponseFilter responseFilter, DeliverOrder deliverOrder, boolean anycast)
Deprecated.Since 9.2, please useTransport.invokeRemotelyAsync(Collection, ReplicableCommand, ResponseMode, long, ResponseFilter, DeliverOrder, boolean)
instead.java.util.concurrent.CompletableFuture<java.util.Map<Address,Response>>
AbstractDelegatingTransport. invokeRemotelyAsync(java.util.Collection<Address> recipients, org.infinispan.commands.ReplicableCommand rpcCommand, ResponseMode mode, long timeout, ResponseFilter responseFilter, DeliverOrder deliverOrder, boolean anycast)
java.util.concurrent.CompletableFuture<java.util.Map<Address,Response>>
Transport. invokeRemotelyAsync(java.util.Collection<Address> recipients, org.infinispan.commands.ReplicableCommand rpcCommand, ResponseMode mode, long timeout, ResponseFilter responseFilter, DeliverOrder deliverOrder, boolean anycast)
Methods in org.infinispan.remoting.transport with parameters of type Response Modifier and Type Method Description T
ResponseCollector. addResponse(Address sender, Response response)
Called when a response is received, or when a target node becomes unavailable.T
ValidResponseCollector. addResponse(Address sender, Response response)
T
ValidSingleResponseCollector. addResponse(Address sender, Response response)
static java.lang.RuntimeException
ResponseCollectors. unexpectedResponse(Response response)
Method parameters in org.infinispan.remoting.transport with type arguments of type Response Modifier and Type Method Description protected java.util.Map<Address,Response>
AbstractDelegatingTransport. afterInvokeRemotely(org.infinispan.commands.ReplicableCommand command, java.util.Map<Address,Response> responseMap)
method invoked after a successful remote invocation. -
Uses of Response in org.infinispan.remoting.transport.jgroups
Methods in org.infinispan.remoting.transport.jgroups that return types with arguments of type Response Modifier and Type Method Description java.util.Map<Address,Response>
JGroupsTransport. invokeRemotely(java.util.Map<Address,org.infinispan.commands.ReplicableCommand> commands, ResponseMode mode, long timeout, ResponseFilter responseFilter, DeliverOrder deliverOrder, boolean anycast)
Deprecated.java.util.concurrent.CompletableFuture<java.util.Map<Address,Response>>
JGroupsTransport. invokeRemotelyAsync(java.util.Collection<Address> recipients, org.infinispan.commands.ReplicableCommand command, ResponseMode mode, long timeout, ResponseFilter responseFilter, DeliverOrder deliverOrder, boolean anycast)
Methods in org.infinispan.remoting.transport.jgroups with parameters of type Response Modifier and Type Method Description void
SingleSiteRequest. onResponse(Address sender, Response response)
void
StaggeredRequest. onResponse(Address sender, Response response)
-
Uses of Response in org.infinispan.statetransfer
Methods in org.infinispan.statetransfer that return types with arguments of type Response Modifier and Type Method Description java.util.Map<Address,Response>
StateTransferManager. forwardCommandIfNeeded(org.infinispan.commands.TopologyAffectedCommand command, java.util.Set<java.lang.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.java.util.Map<Address,Response>
StateTransferManagerImpl. forwardCommandIfNeeded(org.infinispan.commands.TopologyAffectedCommand command, java.util.Set<java.lang.Object> affectedKeys, Address origin)
-