Uses of Interface
org.infinispan.remoting.responses.Response
-
Packages that use Response Package Description org.infinispan.interceptors.distribution Interceptors dealing with command replication in distributed/replicated mode.org.infinispan.interceptors.impl Basic interceptorsorg.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. -
-
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 ValidResponseBiasedCollector. addResponse(Address sender, Response response)SuccessfulResponseRemoteGetSingleKeyCollector. addResponse(Address sender, Response response)Method parameters in org.infinispan.interceptors.distribution with type arguments of type Response Modifier and Type Method Description protected voidTxDistributionInterceptor. checkTxCommandResponses(Map<Address,Response> responseMap, TransactionBoundaryCommand command, TxInvocationContext<LocalTransaction> context, Collection<Address> recipients, PrepareResponse prepareResponse) -
Uses of Response in org.infinispan.interceptors.impl
Methods in org.infinispan.interceptors.impl with parameters of type Response Modifier and Type Method Description protected static RuntimeExceptionClusteringInterceptor. unexpected(Address sender, Response response)Method parameters in org.infinispan.interceptors.impl with type arguments of type Response Modifier and Type Method Description protected static SuccessfulResponseClusteringInterceptor. getSuccessfulResponseOrFail(Map<Address,Response> responseMap, CompletableFuture<?> future, Consumer<Response> cacheNotFound)protected static SuccessfulResponseClusteringInterceptor. getSuccessfulResponseOrFail(Map<Address,Response> responseMap, CompletableFuture<?> future, Consumer<Response> cacheNotFound) -
Uses of Response in org.infinispan.remoting
Methods in org.infinispan.remoting that return Response Modifier and Type Method Description ResponseLocalInvocation. apply(Object retVal)ResponseLocalInvocation. call()Methods in org.infinispan.remoting that return types with arguments of type Response Modifier and Type Method Description CompletionStage<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 ResponseBaseBlockingRunnable. responseMethods in org.infinispan.remoting.inboundhandler that return types with arguments of type Response Modifier and Type Method Description protected CompletableFuture<Response>BaseBlockingRunnable. beforeInvoke()protected CompletableFuture<Response>DefaultTopologyRunnable. beforeInvoke()Methods in org.infinispan.remoting.inboundhandler with parameters of type Response Modifier and Type Method Description voidReply. 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 classBiasRevocationResponseclassCacheNotFoundResponseA response that signals the named cache is not running on the target node.classExceptionResponseA response that encapsulates an exceptionclassInvalidResponseAn invalid responseclassPrepareResponseAValidResponseused by Optimistic Transactions.classSuccessfulResponse<T>A successful responseclassUnsuccessfulResponseAn unsuccessful responseclassUnsureResponseAn 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)classValidResponseA valid responseMethods in org.infinispan.remoting.responses that return Response Modifier and Type Method Description ResponseDefaultResponseGenerator. getResponse(CacheRpcCommand command, Object returnValue)ResponseResponseGenerator. getResponse(CacheRpcCommand command, Object returnValue)Methods in org.infinispan.remoting.responses with parameters of type Response Modifier and Type Method Description booleanClusteredGetResponseValidityFilter. isAcceptable(Response response, Address address)booleanIgnoreExtraResponsesValidityFilter. 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 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)Methods in org.infinispan.remoting.rpc with parameters of type Response Modifier and Type Method Description booleanResponseFilter. 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 ResponseAbstractTransport. checkResponse(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 Map<Address,Response>AbstractDelegatingTransport. invokeRemotely(Collection<Address> recipients, ReplicableCommand rpcCommand, ResponseMode mode, long timeout, ResponseFilter responseFilter, DeliverOrder deliverOrder, boolean anycast)Deprecated.Map<Address,Response>AbstractDelegatingTransport. 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(Collection<Address> recipients, 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 Map<Address,Response>Transport. 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, ResponseFilter responseFilter, DeliverOrder deliverOrder, boolean anycast)Deprecated.Since 9.2, please useTransport.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)Methods in org.infinispan.remoting.transport with parameters of type Response Modifier and Type Method Description TResponseCollector. addResponse(Address sender, Response response)Called when a response is received, or when a target node becomes unavailable.TValidResponseCollector. addResponse(Address sender, Response response)TValidSingleResponseCollector. addResponse(Address sender, Response response) -
Uses of Response in org.infinispan.remoting.transport.impl
Fields in org.infinispan.remoting.transport.impl with type parameters of type Response Modifier and Type Field Description protected HashMap<Address,Response>MapResponseCollector. mapMethods in org.infinispan.remoting.transport.impl that return Response Modifier and Type Method Description ResponsePassthroughSingleResponseCollector. addResponse(Address sender, Response response)ResponsePassthroughSingleResponseCollector. finish()Methods in org.infinispan.remoting.transport.impl that return types with arguments of type Response Modifier and Type Method 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)Methods in org.infinispan.remoting.transport.impl with parameters of type Response Modifier and Type Method Description Map<Address,Response>PassthroughMapResponseCollector. addResponse(Address sender, Response response)ResponsePassthroughSingleResponseCollector. addResponse(Address sender, Response response)voidRequestRepository. addResponse(long requestId, Address sender, Response response)voidMultiTargetRequest. onResponse(Address sender, Response response)voidRequest. onResponse(Address sender, Response response)Called when a response is received for this response.voidSingleTargetRequest. onResponse(Address sender, Response response) -
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 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)Methods in org.infinispan.remoting.transport.jgroups with parameters of type Response Modifier and Type Method Description voidSingleSiteRequest. onResponse(Address sender, Response response)voidStaggeredRequest. 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 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) -
Uses of Response in org.infinispan.transaction.impl
Methods in org.infinispan.transaction.impl with parameters of type Response Modifier and Type Method Description static voidWriteSkewHelper. mergePrepareResponses(Response r, PrepareResponse aggregateResponse) -
Uses of Response in org.infinispan.util.logging
Methods in org.infinispan.util.logging with parameters of type Response Modifier and Type Method Description IllegalArgumentExceptionLog_$logger. unexpectedResponse(Address target, Response response)IllegalArgumentExceptionLog. unexpectedResponse(Address target, Response response)voidLog_$logger. unsuccessfulResponseForClusterListeners(Address address, Response response)voidLog. unsuccessfulResponseForClusterListeners(Address address, Response response)voidLog_$logger. unsuccessfulResponseRetrievingTransactionsForSegments(Address address, Response response)voidLog. unsuccessfulResponseRetrievingTransactionsForSegments(Address address, Response response)Method parameters in org.infinispan.util.logging with type arguments of type Response Modifier and Type Method Description voidLog_$logger. expectedJustOneResponse(Map<Address,Response> lr)voidLog. expectedJustOneResponse(Map<Address,Response> lr)voidLog_$logger. unknownResponsesFromRemoteCache(Collection<Response> responses)voidLog. unknownResponsesFromRemoteCache(Collection<Response> responses)
-