Uses of Interface
org.apache.qpid.jms.provider.AsyncResult
-
Packages that use AsyncResult Package Description org.apache.qpid.jms.provider org.apache.qpid.jms.provider.amqp org.apache.qpid.jms.provider.amqp.builders org.apache.qpid.jms.provider.failover -
-
Uses of AsyncResult in org.apache.qpid.jms.provider
Classes in org.apache.qpid.jms.provider that implement AsyncResult Modifier and Type Class Description classBalancedProviderFutureA 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.classConservativeProviderFutureA 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.classNoOpAsyncResultSimple NoOp implementation used when the result of the operation does not matter.classProgressiveProviderFutureAn optimized version of a ProviderFuture that makes use of spin waits and other methods of reacting to asynchronous completion in a more timely manner.classProviderFutureAsynchronous Provider Future class.classWrappedAsyncResultBase class used to wrap one AsyncResult with another.Methods in org.apache.qpid.jms.provider that return AsyncResult Modifier and Type Method Description AsyncResultWrappedAsyncResult. getWrappedRequest()Methods in org.apache.qpid.jms.provider with parameters of type AsyncResult Modifier and Type Method Description voidProvider. 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(java.lang.String subscription, AsyncResult request)Remove a durable topic subscription by name.voidProviderWrapper. unsubscribe(java.lang.String subscription, AsyncResult request)Constructors in org.apache.qpid.jms.provider with parameters of type AsyncResult Constructor Description WrappedAsyncResult(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 AsyncResult Modifier and Type Class Description classAmqpTransactionContext.DischargeCompletionFields in org.apache.qpid.jms.provider.amqp declared as AsyncResult Modifier and Type Field Description protected AsyncResultAmqpAbstractResource. closeRequestprotected AsyncResultAmqpConsumer. pullRequestprotected AsyncResultAmqpConsumer. stopRequestMethods in org.apache.qpid.jms.provider.amqp with parameters of type AsyncResult Modifier and Type Method Description voidAmqpProvider. 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)java.util.concurrent.ScheduledFuture<?>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.java.util.concurrent.ScheduledFuture<?>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(java.lang.String subscriptionName, AsyncResult request)voidAmqpConnectionSession. unsubscribe(java.lang.String subscriptionName, boolean hasClientID, AsyncResult request)Used to remove an existing durable topic subscription from the remote broker.voidAmqpProvider. unsubscribe(java.lang.String subscription, AsyncResult request)Constructors in org.apache.qpid.jms.provider.amqp with parameters of type AsyncResult Constructor Description DischargeCompletion(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 AsyncResult Modifier and Type Field Description protected AsyncResultAmqpResourceBuilder. requestMethods in org.apache.qpid.jms.provider.amqp.builders that return AsyncResult Modifier and Type Method Description protected AsyncResultAmqpClosedConnectionBuilder. createRequestIntercepter(AsyncResult request)protected AsyncResultAmqpConnectionBuilder. createRequestIntercepter(AsyncResult request)AsyncResultAmqpResourceBuilder. getRequest()Methods in org.apache.qpid.jms.provider.amqp.builders with parameters of type AsyncResult Modifier and Type Method Description voidAmqpConnectionBuilder. 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 AsyncResult Modifier and Type Class Description protected classFailoverProvider.CreateConnectionRequestCaptures 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 classFailoverProvider.FailoverRequestFor 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 AsyncResult Modifier and Type Method Description voidFailoverProvider. 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(java.lang.String subscription, AsyncResult request)Constructors in org.apache.qpid.jms.provider.failover with parameters of type AsyncResult Constructor Description CreateConnectionRequest(AsyncResult watcher)FailoverRequest(AsyncResult watcher)FailoverRequest(AsyncResult watcher, long requestTimeout)
-