55 строки
4.2 KiB
YAML
55 строки
4.2 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.microsoft.azure.sdk.iot.device.transport.NoRetry"
|
|
fullName: "com.microsoft.azure.sdk.iot.device.transport.NoRetry"
|
|
name: "NoRetry"
|
|
nameWithType: "NoRetry"
|
|
summary: "Represents a retry policy that performs no retries."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
|
|
methodsRef:
|
|
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public class **NoRetry**</br> implements <xref href=\"com.microsoft.azure.sdk.iot.device.transport.RetryPolicy?alt=com.microsoft.azure.sdk.iot.device.transport.RetryPolicy&text=RetryPolicy\" data-throw-if-not-resolved=\"False\" />"
|
|
constructors:
|
|
- uid: "com.microsoft.azure.sdk.iot.device.transport.NoRetry.NoRetry()"
|
|
fullName: "com.microsoft.azure.sdk.iot.device.transport.NoRetry.NoRetry()"
|
|
name: "NoRetry()"
|
|
nameWithType: "NoRetry.NoRetry()"
|
|
syntax: "public NoRetry()"
|
|
methods:
|
|
- uid: "com.microsoft.azure.sdk.iot.device.transport.NoRetry.getRetryDecision(int,com.microsoft.azure.sdk.iot.device.exceptions.TransportException)"
|
|
fullName: "com.microsoft.azure.sdk.iot.device.transport.NoRetry.getRetryDecision(int currentRetryCount, TransportException lastException)"
|
|
name: "getRetryDecision(int currentRetryCount, TransportException lastException)"
|
|
nameWithType: "NoRetry.getRetryDecision(int currentRetryCount, TransportException lastException)"
|
|
summary: "Always says to not retry."
|
|
parameters:
|
|
- description: "the number of retries for the given operation"
|
|
name: "currentRetryCount"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "the last exception encountered"
|
|
name: "lastException"
|
|
type: "<xref href=\"com.microsoft.azure.sdk.iot.device.exceptions.TransportException?alt=com.microsoft.azure.sdk.iot.device.exceptions.TransportException&text=TransportException\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public RetryDecision getRetryDecision(int currentRetryCount, TransportException lastException)"
|
|
desc: "Always says to not retry."
|
|
returns:
|
|
description: "the retry decision."
|
|
type: "<xref href=\"com.microsoft.azure.sdk.iot.device.transport.RetryDecision?alt=com.microsoft.azure.sdk.iot.device.transport.RetryDecision&text=RetryDecision\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Represents a retry policy that performs no retries."
|
|
implements:
|
|
- "<xref href=\"com.microsoft.azure.sdk.iot.device.transport.RetryPolicy?alt=com.microsoft.azure.sdk.iot.device.transport.RetryPolicy&text=RetryPolicy\" data-throw-if-not-resolved=\"False\" />"
|
|
metadata: {}
|
|
package: "com.microsoft.azure.sdk.iot.device.transport"
|
|
artifact: com.microsoft.azure.sdk.iot:iot-device-client:1.30.1
|