RequestResponseWorkItem Class
- java.
lang. Object - com.
microsoft. azure. servicebus. primitives. WorkItem<Message> - com.
microsoft. azure. servicebus. primitives. RequestResponseWorkItem
- com.
- com.
public class RequestResponseWorkItem
Constructor Summary
Method Summary
Modifier and Type | Method and Description |
---|---|
Message | getRequest() |
Transaction |
getTransaction() |
Inherited Members
com.microsoft.azure.servicebus.primitives.WorkItem.cancelTimeoutTask(boolean)
com.microsoft.azure.servicebus.primitives.WorkItem.getLastKnownException()
com.microsoft.azure.servicebus.primitives.WorkItem.getTimeoutTask()
com.microsoft.azure.servicebus.primitives.WorkItem.getTimeoutTracker()
com.microsoft.azure.servicebus.primitives.WorkItem.getWork()
com.microsoft.azure.servicebus.primitives.WorkItem.setLastKnownException(Exception)
com.microsoft.azure.servicebus.primitives.WorkItem.setTimeoutTask(final ScheduledFuture<?>)
com.microsoft.azure.servicebus.primitives.WorkItem.WorkItem(final CompletableFuture<T>,final Duration)
com.microsoft.azure.servicebus.primitives.WorkItem.WorkItem(final CompletableFuture<T>,final TimeoutTracker)
Constructor Details
RequestResponseWorkItem
public RequestResponseWorkItem(Message request, TransactionContext transaction, CompletableFuture
Parameters:
request
transaction
completableFuture
timeout
RequestResponseWorkItem
public RequestResponseWorkItem(Message request, TransactionContext transaction, CompletableFuture
Parameters:
request
transaction
completableFuture
tracker
Method Details
getRequest
public Message getRequest()
getTransaction
public TransactionContext getTransaction()
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java