84 строки
6.8 KiB
YAML
84 строки
6.8 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.core.util.polling.PollingContext"
|
|
fullName: "com.azure.core.util.polling.PollingContext<T>"
|
|
name: "PollingContext<T>"
|
|
nameWithType: "PollingContext<T>"
|
|
summary: "A key/value store that is propagated between various poll related operations associated with <xref uid=\"com.azure.core.util.polling.PollerFlux\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PollerFlux\"></xref> and <xref uid=\"com.azure.core.util.polling.SyncPoller\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SyncPoller\"></xref> poller."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- 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 final class **PollingContext<T>**"
|
|
methods:
|
|
- uid: "com.azure.core.util.polling.PollingContext.getActivationResponse()"
|
|
fullName: "com.azure.core.util.polling.PollingContext<T>.getActivationResponse()"
|
|
name: "getActivationResponse()"
|
|
nameWithType: "PollingContext<T>.getActivationResponse()"
|
|
summary: "Gets the activation <xref uid=\"com.azure.core.util.polling.PollResponse\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PollResponse\"></xref> holding the result of an activation operation call."
|
|
syntax: "public PollResponse<T> getActivationResponse()"
|
|
desc: "Gets the activation <xref uid=\"com.azure.core.util.polling.PollResponse\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PollResponse\"></xref> holding the result of an activation operation call."
|
|
returns:
|
|
description: "The activation <xref uid=\"com.azure.core.util.polling.PollResponse\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PollResponse\"></xref> holding the result of an activation operation call."
|
|
type: "<xref href=\"com.azure.core.util.polling.PollResponse?alt=com.azure.core.util.polling.PollResponse&text=PollResponse\" data-throw-if-not-resolved=\"False\" /><<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.core.util.polling.PollingContext.getData(java.lang.String)"
|
|
fullName: "com.azure.core.util.polling.PollingContext<T>.getData(String name)"
|
|
name: "getData(String name)"
|
|
nameWithType: "PollingContext<T>.getData(String name)"
|
|
summary: "Get a value from the context with the provided key."
|
|
parameters:
|
|
- description: "the key to look for"
|
|
name: "name"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public String getData(String name)"
|
|
desc: "Get a value from the context with the provided key."
|
|
returns:
|
|
description: "the value of the key if exists, else null"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.core.util.polling.PollingContext.getLatestResponse()"
|
|
fullName: "com.azure.core.util.polling.PollingContext<T>.getLatestResponse()"
|
|
name: "getLatestResponse()"
|
|
nameWithType: "PollingContext<T>.getLatestResponse()"
|
|
summary: "Gets the latest <xref uid=\"com.azure.core.util.polling.PollResponse\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PollResponse\"></xref> in the polling operation."
|
|
syntax: "public PollResponse<T> getLatestResponse()"
|
|
desc: "Gets the latest <xref uid=\"com.azure.core.util.polling.PollResponse\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PollResponse\"></xref> in the polling operation."
|
|
returns:
|
|
description: "The latest <xref uid=\"com.azure.core.util.polling.PollResponse\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PollResponse\"></xref> in the polling operation."
|
|
type: "<xref href=\"com.azure.core.util.polling.PollResponse?alt=com.azure.core.util.polling.PollResponse&text=PollResponse\" data-throw-if-not-resolved=\"False\" /><<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.core.util.polling.PollingContext.setData(java.lang.String,java.lang.String)"
|
|
fullName: "com.azure.core.util.polling.PollingContext<T>.setData(String name, String value)"
|
|
name: "setData(String name, String value)"
|
|
nameWithType: "PollingContext<T>.setData(String name, String value)"
|
|
summary: "Set a key-value pair in the context."
|
|
parameters:
|
|
- description: "the key"
|
|
name: "name"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "the value"
|
|
name: "value"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public PollingContext<T> setData(String name, String value)"
|
|
desc: "Set a key-value pair in the context."
|
|
returns:
|
|
description: "an updated PollingContext"
|
|
type: "<xref href=\"com.azure.core.util.polling.PollingContext?alt=com.azure.core.util.polling.PollingContext&text=PollingContext\" data-throw-if-not-resolved=\"False\" /><<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />>"
|
|
type: "class"
|
|
typeParameters:
|
|
- description: "the type of the poll response."
|
|
name: "T"
|
|
desc: "A key/value store that is propagated between various poll related operations associated with <xref uid=\"com.azure.core.util.polling.PollerFlux\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PollerFlux\"></xref> and <xref uid=\"com.azure.core.util.polling.SyncPoller\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SyncPoller\"></xref> poller. The context also expose activation and latest <xref uid=\"com.azure.core.util.polling.PollResponse\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PollResponse\"></xref>."
|
|
metadata: {}
|
|
package: "com.azure.core.util.polling"
|
|
artifact: com.azure:azure-core:1.52.0
|