Uses of Interface
org.apache.qpid.jms.provider.AsyncResult
Packages that use AsyncResult
Package
Description
-
Uses of AsyncResult in org.apache.qpid.jms.provider
Classes in org.apache.qpid.jms.provider that implement AsyncResultModifier and TypeClassDescriptionclassA more balanced implementation of a ProviderFuture that works better on some platforms such as windows where the thread park and atomic operations used by a more aggressive implementation could result in poor performance.classA more conservative implementation of a ProviderFuture that is better on some platforms or resource constrained hardware where high CPU usage can be more counter productive than other variants that might spin or otherwise avoid entry into states requiring thread signalling.classSimple NoOp implementation used when the result of the operation does not matter.classAn optimized version of a ProviderFuture that makes use of spin waits and other methods of reacting to asynchronous completion in a more timely manner.classAsynchronous Provider Future class.classBase class used to wrap one AsyncResult with another.Methods in org.apache.qpid.jms.provider that return AsyncResultMethods in org.apache.qpid.jms.provider with parameters of type AsyncResultModifier and TypeMethodDescriptionvoidProvider.acknowledge(JmsInboundMessageDispatch envelope, ProviderConstants.ACK_TYPE ackType, AsyncResult request) Called to acknowledge a JmsMessage has been delivered, consumed, re-delivered...etc.voidProvider.acknowledge(JmsSessionId sessionId, ProviderConstants.ACK_TYPE ackType, AsyncResult request) Called to acknowledge all messages that have been delivered in a given session.voidProviderWrapper.acknowledge(JmsInboundMessageDispatch envelope, ProviderConstants.ACK_TYPE ackType, AsyncResult request) voidProviderWrapper.acknowledge(JmsSessionId sessionId, ProviderConstants.ACK_TYPE ackType, AsyncResult request) voidProvider.commit(JmsTransactionInfo transactionInfo, JmsTransactionInfo nextTransactionInfo, AsyncResult request) Called to commit an open transaction, and start a new one if a new transaction info object is provided.voidProviderWrapper.commit(JmsTransactionInfo transactionInfo, JmsTransactionInfo nextTransactionInfo, AsyncResult request) voidProvider.create(JmsResource resource, AsyncResult request) Create the Provider version of the given JmsResource.voidProviderWrapper.create(JmsResource resource, AsyncResult request) voidProvider.destroy(JmsResource resource, AsyncResult request) Instruct the Provider to dispose of a given JmsResource.voidProviderWrapper.destroy(JmsResource resourceId, AsyncResult request) voidProvider.pull(JmsConsumerId consumerId, long timeout, AsyncResult request) Request a remote peer send a Message to this client.voidProviderWrapper.pull(JmsConsumerId consumerId, long timeout, AsyncResult request) voidProvider.recover(JmsSessionId sessionId, AsyncResult request) Called to recover all unacknowledged messages for a Session in client Ack mode.voidProviderWrapper.recover(JmsSessionId sessionId, AsyncResult request) voidProvider.rollback(JmsTransactionInfo transactionInfo, JmsTransactionInfo nextTransactionInfo, AsyncResult request) Called to roll back an open transaction, and start a new one if a new transaction info object is provided.voidProviderWrapper.rollback(JmsTransactionInfo transactionInfo, JmsTransactionInfo nextTransactionInfo, AsyncResult request) voidProvider.send(JmsOutboundMessageDispatch envelope, AsyncResult request) Sends the JmsMessage contained in the outbound dispatch envelope.voidProviderWrapper.send(JmsOutboundMessageDispatch envelope, AsyncResult request) voidProvider.start(JmsResource resource, AsyncResult request) Starts the Provider version of the given JmsResource.voidProviderWrapper.start(JmsResource resource, AsyncResult request) voidProvider.stop(JmsResource resource, AsyncResult request) Stops (pauses) the Provider version of the given JmsResource, the resource would then need to be started again via a call tostart()For some JMS Resources it is necessary or advantageous to have a stopped state that can be triggered to stop the resource generating new events or messages.voidProviderWrapper.stop(JmsResource resource, AsyncResult request) voidProvider.unsubscribe(String subscription, AsyncResult request) Remove a durable topic subscription by name.voidProviderWrapper.unsubscribe(String subscription, AsyncResult request) Constructors in org.apache.qpid.jms.provider with parameters of type AsyncResultModifierConstructorDescriptionWrappedAsyncResult(AsyncResult wrapped) Create a new WrappedAsyncResult for the target AsyncResult -
Uses of AsyncResult in org.apache.qpid.jms.provider.amqp
Classes in org.apache.qpid.jms.provider.amqp that implement AsyncResultFields in org.apache.qpid.jms.provider.amqp declared as AsyncResultModifier and TypeFieldDescriptionprotected AsyncResultAmqpAbstractResource.closeRequestprotected AsyncResultAmqpConsumer.pullRequestprotected AsyncResultAmqpConsumer.stopRequestMethods in org.apache.qpid.jms.provider.amqp with parameters of type AsyncResultModifier and TypeMethodDescriptionvoidAmqpProvider.acknowledge(JmsInboundMessageDispatch envelope, ProviderConstants.ACK_TYPE ackType, AsyncResult request) voidAmqpProvider.acknowledge(JmsSessionId sessionId, ProviderConstants.ACK_TYPE ackType, AsyncResult request) voidAmqpProvider.addToFailOnConnectionDropTracking(AsyncResult result) voidAmqpSession.begin(JmsTransactionId txId, AsyncResult request) Begins a new Transaction using the given Transaction Id as the identifier.voidAmqpTransactionContext.begin(JmsTransactionId txId, AsyncResult request) voidAmqpAbstractResource.close(AsyncResult request) voidAmqpAnonymousFallbackProducer.close(AsyncResult request) voidAmqpConsumer.close(AsyncResult request) voidAmqpFixedProducer.close(AsyncResult request) voidAmqpProvider.commit(JmsTransactionInfo transactionInfo, JmsTransactionInfo nextTransactionId, AsyncResult request) voidAmqpSession.commit(JmsTransactionInfo transactionInfo, JmsTransactionInfo nextTransactionInfo, AsyncResult request) Commit the currently running Transaction.voidAmqpTransactionContext.commit(JmsTransactionInfo transactionInfo, JmsTransactionInfo nextTransactionInfo, AsyncResult request) voidAmqpProvider.create(JmsResource resource, AsyncResult request) voidAmqpSession.createConsumer(JmsConsumerInfo consumerInfo, AsyncResult request) voidAmqpSession.createProducer(JmsProducerInfo producerInfo, AsyncResult request) voidAmqpConnection.createSession(JmsSessionInfo sessionInfo, AsyncResult request) voidAmqpConnection.createTemporaryDestination(JmsTemporaryDestination destination, AsyncResult request) voidAmqpTransactionCoordinator.declare(JmsTransactionId txId, AsyncResult request) voidAmqpProvider.destroy(JmsResource resource, AsyncResult request) voidAmqpConsumer.pull(long timeout, AsyncResult request) Request a remote peer send a Message to this client.voidAmqpProvider.pull(JmsConsumerId consumerId, long timeout, AsyncResult request) protected booleanAmqpProvider.pumpToProtonTransport(AsyncResult request) protected booleanAmqpProvider.pumpToProtonTransport(AsyncResult request, boolean flush) voidAmqpProvider.recover(JmsSessionId sessionId, AsyncResult request) voidAmqpProvider.removeFromFailOnConnectionDropTracking(AsyncResult result) voidAmqpProvider.rollback(JmsTransactionInfo transactionInfo, JmsTransactionInfo nextTransactionId, AsyncResult request) voidAmqpSession.rollback(JmsTransactionInfo transactionInfo, JmsTransactionInfo nextTransactionInfo, AsyncResult request) Roll back the currently running TransactionvoidAmqpTransactionContext.rollback(JmsTransactionInfo transactionInfo, JmsTransactionInfo nextTransactionInfo, AsyncResult request) AmqpProvider.scheduleRequestTimeout(AsyncResult request, long timeout, AmqpExceptionBuilder builder) Allows a resource to request that its parent resource schedule a future cancellation of a request and return it aFutureinstance that can be used to cancel the scheduled automatic failure of the request.AmqpProvider.scheduleRequestTimeout(AsyncResult request, long timeout, ProviderException error) Allows a resource to request that its parent resource schedule a future cancellation of a request and return it aFutureinstance that can be used to cancel the scheduled automatic failure of the request.voidAmqpAnonymousFallbackProducer.send(JmsOutboundMessageDispatch envelope, AsyncResult request) voidAmqpFixedProducer.send(JmsOutboundMessageDispatch envelope, AsyncResult request) abstract voidAmqpProducer.send(JmsOutboundMessageDispatch envelope, AsyncResult request) Sends the given messagevoidAmqpProvider.send(JmsOutboundMessageDispatch envelope, AsyncResult request) voidAmqpConsumer.start(AsyncResult request) Starts the consumer by setting the link credit to the given prefetch value.voidAmqpProvider.start(JmsResource resource, AsyncResult request) voidAmqpConsumer.stop(AsyncResult request) Stops the consumer, using all link credit and waiting for in-flight messages to arrive.voidAmqpProvider.stop(JmsResource resource, AsyncResult request) voidAmqpConnection.unsubscribe(String subscriptionName, AsyncResult request) voidAmqpConnectionSession.unsubscribe(String subscriptionName, boolean hasClientID, AsyncResult request) Used to remove an existing durable topic subscription from the remote broker.voidAmqpProvider.unsubscribe(String subscription, AsyncResult request) Constructors in org.apache.qpid.jms.provider.amqp with parameters of type AsyncResultModifierConstructorDescriptionDischargeCompletion(AsyncResult request, JmsTransactionInfo nextTx, boolean commit) -
Uses of AsyncResult in org.apache.qpid.jms.provider.amqp.builders
Fields in org.apache.qpid.jms.provider.amqp.builders declared as AsyncResultMethods in org.apache.qpid.jms.provider.amqp.builders that return AsyncResultModifier and TypeMethodDescriptionprotected AsyncResultAmqpClosedConnectionBuilder.createRequestIntercepter(AsyncResult request) protected AsyncResultAmqpConnectionBuilder.createRequestIntercepter(AsyncResult request) AmqpResourceBuilder.getRequest()Methods in org.apache.qpid.jms.provider.amqp.builders with parameters of type AsyncResultModifier and TypeMethodDescriptionvoidAmqpConnectionBuilder.buildResource(AsyncResult request) voidAmqpProducerBuilder.buildResource(AsyncResult request) voidAmqpResourceBuilder.buildResource(AsyncResult request) Called to initiate the process of building the resource type that is managed by this builder.protected AsyncResultAmqpClosedConnectionBuilder.createRequestIntercepter(AsyncResult request) protected AsyncResultAmqpConnectionBuilder.createRequestIntercepter(AsyncResult request) -
Uses of AsyncResult in org.apache.qpid.jms.provider.failover
Classes in org.apache.qpid.jms.provider.failover that implement AsyncResultModifier and TypeClassDescriptionprotected classCaptures the initial request to create a JmsConnectionInfo based resources and ensures that if the connection is successfully established that the connection established event is triggered once before moving on to sending only connection interrupted and restored events.protected classFor all requests that are dispatched from the FailoverProvider to a connected Provider instance an instance of FailoverRequest is used to handle errors that occur during processing of that request and trigger a reconnect.Methods in org.apache.qpid.jms.provider.failover with parameters of type AsyncResultModifier and TypeMethodDescriptionvoidFailoverProvider.acknowledge(JmsInboundMessageDispatch envelope, ProviderConstants.ACK_TYPE ackType, AsyncResult request) voidFailoverProvider.acknowledge(JmsSessionId sessionId, ProviderConstants.ACK_TYPE ackType, AsyncResult request) voidFailoverProvider.commit(JmsTransactionInfo transactionInfo, JmsTransactionInfo nextTransactionInfo, AsyncResult request) voidFailoverProvider.create(JmsResource resource, AsyncResult request) voidFailoverProvider.destroy(JmsResource resourceId, AsyncResult request) voidFailoverProvider.pull(JmsConsumerId consumerId, long timeout, AsyncResult request) voidFailoverProvider.recover(JmsSessionId sessionId, AsyncResult request) voidFailoverProvider.rollback(JmsTransactionInfo transactionInfo, JmsTransactionInfo nextTransactionInfo, AsyncResult request) voidFailoverProvider.send(JmsOutboundMessageDispatch envelope, AsyncResult request) voidFailoverProvider.start(JmsResource resource, AsyncResult request) voidFailoverProvider.stop(JmsResource resource, AsyncResult request) voidFailoverProvider.unsubscribe(String subscription, AsyncResult request) Constructors in org.apache.qpid.jms.provider.failover with parameters of type AsyncResultModifierConstructorDescriptionCreateConnectionRequest(AsyncResult watcher) FailoverRequest(AsyncResult watcher) FailoverRequest(AsyncResult watcher, long requestTimeout)