azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.service...

81 строка
8.8 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.servicebus.primitives.RequestResponseWorkItem"
fullName: "com.microsoft.azure.servicebus.primitives.RequestResponseWorkItem"
name: "RequestResponseWorkItem"
nameWithType: "RequestResponseWorkItem"
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.WorkItem?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.microsoft.azure.servicebus.primitives.WorkItem?alt=com.microsoft.azure.servicebus.primitives.WorkItem&text=WorkItem\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.microsoft.azure.servicebus.primitives.WorkItem.cancelTimeoutTask(boolean)?alt=com.microsoft.azure.servicebus.primitives.WorkItem.cancelTimeoutTask&text=cancelTimeoutTask\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.WorkItem.getLastKnownException()?alt=com.microsoft.azure.servicebus.primitives.WorkItem.getLastKnownException&text=getLastKnownException\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.WorkItem.getTimeoutTask()?alt=com.microsoft.azure.servicebus.primitives.WorkItem.getTimeoutTask&text=getTimeoutTask\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.WorkItem.getTimeoutTracker()?alt=com.microsoft.azure.servicebus.primitives.WorkItem.getTimeoutTracker&text=getTimeoutTracker\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.WorkItem.getWork()?alt=com.microsoft.azure.servicebus.primitives.WorkItem.getWork&text=getWork\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.WorkItem.setLastKnownException(java.lang.Exception)?alt=com.microsoft.azure.servicebus.primitives.WorkItem.setLastKnownException&text=setLastKnownException\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.WorkItem.setTimeoutTask(java.util.concurrent.ScheduledFuture<?>)?alt=com.microsoft.azure.servicebus.primitives.WorkItem.setTimeoutTask&text=setTimeoutTask\" data-throw-if-not-resolved=\"False\" />"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public class **RequestResponseWorkItem**</br> extends <xref href=\"com.microsoft.azure.servicebus.primitives.WorkItem?alt=com.microsoft.azure.servicebus.primitives.WorkItem&text=WorkItem\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"org.apache.qpid.proton.message.Message?alt=org.apache.qpid.proton.message.Message&text=Message\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.microsoft.azure.servicebus.primitives.RequestResponseWorkItem.RequestResponseWorkItem(org.apache.qpid.proton.message.Message,com.microsoft.azure.servicebus.TransactionContext,java.util.concurrent.CompletableFuture<org.apache.qpid.proton.message.Message>,com.microsoft.azure.servicebus.primitives.TimeoutTracker)"
fullName: "com.microsoft.azure.servicebus.primitives.RequestResponseWorkItem.RequestResponseWorkItem(Message request, TransactionContext transaction, CompletableFuture<Message> completableFuture, TimeoutTracker tracker)"
name: "RequestResponseWorkItem(Message request, TransactionContext transaction, CompletableFuture<Message> completableFuture, TimeoutTracker tracker)"
nameWithType: "RequestResponseWorkItem.RequestResponseWorkItem(Message request, TransactionContext transaction, CompletableFuture<Message> completableFuture, TimeoutTracker tracker)"
parameters:
- name: "request"
type: "<xref href=\"org.apache.qpid.proton.message.Message?alt=org.apache.qpid.proton.message.Message&text=Message\" data-throw-if-not-resolved=\"False\" />"
- name: "transaction"
type: "<xref href=\"com.microsoft.azure.servicebus.TransactionContext?alt=com.microsoft.azure.servicebus.TransactionContext&text=TransactionContext\" data-throw-if-not-resolved=\"False\" />"
- name: "completableFuture"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html\">CompletableFuture</a>&lt;<xref href=\"org.apache.qpid.proton.message.Message?alt=org.apache.qpid.proton.message.Message&text=Message\" data-throw-if-not-resolved=\"False\" />&gt;"
- name: "tracker"
type: "<xref href=\"com.microsoft.azure.servicebus.primitives.TimeoutTracker?alt=com.microsoft.azure.servicebus.primitives.TimeoutTracker&text=TimeoutTracker\" data-throw-if-not-resolved=\"False\" />"
syntax: "public RequestResponseWorkItem(Message request, TransactionContext transaction, CompletableFuture<Message> completableFuture, TimeoutTracker tracker)"
- uid: "com.microsoft.azure.servicebus.primitives.RequestResponseWorkItem.RequestResponseWorkItem(org.apache.qpid.proton.message.Message,com.microsoft.azure.servicebus.TransactionContext,java.util.concurrent.CompletableFuture<org.apache.qpid.proton.message.Message>,java.time.Duration)"
fullName: "com.microsoft.azure.servicebus.primitives.RequestResponseWorkItem.RequestResponseWorkItem(Message request, TransactionContext transaction, CompletableFuture<Message> completableFuture, Duration timeout)"
name: "RequestResponseWorkItem(Message request, TransactionContext transaction, CompletableFuture<Message> completableFuture, Duration timeout)"
nameWithType: "RequestResponseWorkItem.RequestResponseWorkItem(Message request, TransactionContext transaction, CompletableFuture<Message> completableFuture, Duration timeout)"
parameters:
- name: "request"
type: "<xref href=\"org.apache.qpid.proton.message.Message?alt=org.apache.qpid.proton.message.Message&text=Message\" data-throw-if-not-resolved=\"False\" />"
- name: "transaction"
type: "<xref href=\"com.microsoft.azure.servicebus.TransactionContext?alt=com.microsoft.azure.servicebus.TransactionContext&text=TransactionContext\" data-throw-if-not-resolved=\"False\" />"
- name: "completableFuture"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html\">CompletableFuture</a>&lt;<xref href=\"org.apache.qpid.proton.message.Message?alt=org.apache.qpid.proton.message.Message&text=Message\" data-throw-if-not-resolved=\"False\" />&gt;"
- name: "timeout"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
syntax: "public RequestResponseWorkItem(Message request, TransactionContext transaction, CompletableFuture<Message> completableFuture, Duration timeout)"
methods:
- uid: "com.microsoft.azure.servicebus.primitives.RequestResponseWorkItem.getRequest()"
fullName: "com.microsoft.azure.servicebus.primitives.RequestResponseWorkItem.getRequest()"
name: "getRequest()"
nameWithType: "RequestResponseWorkItem.getRequest()"
syntax: "public Message getRequest()"
returns:
type: "<xref href=\"org.apache.qpid.proton.message.Message?alt=org.apache.qpid.proton.message.Message&text=Message\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.servicebus.primitives.RequestResponseWorkItem.getTransaction()"
fullName: "com.microsoft.azure.servicebus.primitives.RequestResponseWorkItem.getTransaction()"
name: "getTransaction()"
nameWithType: "RequestResponseWorkItem.getTransaction()"
syntax: "public TransactionContext getTransaction()"
returns:
type: "<xref href=\"com.microsoft.azure.servicebus.TransactionContext?alt=com.microsoft.azure.servicebus.TransactionContext&text=TransactionContext\" data-throw-if-not-resolved=\"False\" />"
type: "class"
metadata: {}
package: "com.microsoft.azure.servicebus.primitives"
artifact: com.microsoft.azure:azure-servicebus:3.6.7