-
Notifications
You must be signed in to change notification settings - Fork 250
/
com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.yml
274 lines (265 loc) · 23.7 KB
/
com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
### YamlMime:JavaType
constructors:
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.RetryPolicy(int retryCount, Duration minBackOff, Duration maxBackOff, Duration deltaBackOff)
name: RetryPolicy(int retryCount, Duration minBackOff, Duration maxBackOff, Duration deltaBackOff)
nameWithType: RetryPolicy.RetryPolicy(int retryCount, Duration minBackOff, Duration maxBackOff, Duration deltaBackOff)
parameters:
- description: <p>The number of retry attempts. </p>
name: retryCount
type: <xref href="int?alt=int&text=int" data-throw-if-not-resolved="False"/>
- description: <p>Minimum backoff time for exponential backoff policy. </p>
name: minBackOff
type: <xref href="Duration?alt=Duration&text=Duration" data-throw-if-not-resolved="False"/>
- description: <p>Maximum backoff time for exponential backoff policy. </p>
name: maxBackOff
type: <xref href="Duration?alt=Duration&text=Duration" data-throw-if-not-resolved="False"/>
- description: <p>Delta backoff time for exponential backoff policy. </p>
name: deltaBackOff
type: <xref href="Duration?alt=Duration&text=Duration" data-throw-if-not-resolved="False"/>
summary: >-
<p>Initializes an instance of the <xref uid="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy" data-throw-if-not-resolved="false" data-raw-source="RetryPolicy"></xref> class.</p>
<p></p>
syntax: public RetryPolicy(int retryCount, Duration minBackOff, Duration maxBackOff, Duration deltaBackOff)
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.RetryPolicy(int,Duration,Duration,Duration)
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.RetryPolicy(ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount)
name: RetryPolicy(ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount)
nameWithType: RetryPolicy.RetryPolicy(ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount)
parameters:
- description: <p>The <xref uid="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.ITransientErrorDetectionStrategy" data-throw-if-not-resolved="false" data-raw-source="ITransientErrorDetectionStrategy"></xref> that is responsible for detecting transient conditions. </p>
name: errorDetectionStrategy
type: <xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.ITransientErrorDetectionStrategy?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.ITransientErrorDetectionStrategy&text=ITransientErrorDetectionStrategy" data-throw-if-not-resolved="False"/>
- description: <p>The number of retry attempts. </p>
name: retryCount
type: <xref href="int?alt=int&text=int" data-throw-if-not-resolved="False"/>
summary: >-
<p>Initializes a new instance of the <xref uid="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy" data-throw-if-not-resolved="false" data-raw-source="RetryPolicy"></xref> class with the specified number of retry attempts and default fixed time interval between retries.</p>
<p></p>
syntax: public RetryPolicy(ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount)
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.RetryPolicy(ITransientErrorDetectionStrategy,int)
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.RetryPolicy(ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount, Duration retryInterval)
name: RetryPolicy(ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount, Duration retryInterval)
nameWithType: RetryPolicy.RetryPolicy(ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount, Duration retryInterval)
parameters:
- description: <p>The <xref uid="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.ITransientErrorDetectionStrategy" data-throw-if-not-resolved="false" data-raw-source="ITransientErrorDetectionStrategy"></xref> that is responsible for detecting transient conditions. </p>
name: errorDetectionStrategy
type: <xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.ITransientErrorDetectionStrategy?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.ITransientErrorDetectionStrategy&text=ITransientErrorDetectionStrategy" data-throw-if-not-resolved="False"/>
- description: <p>The number of retry attempts. </p>
name: retryCount
type: <xref href="int?alt=int&text=int" data-throw-if-not-resolved="False"/>
- description: <p>The interval between retries. </p>
name: retryInterval
type: <xref href="Duration?alt=Duration&text=Duration" data-throw-if-not-resolved="False"/>
summary: >-
<p>Initializes a new instance of the <xref uid="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy" data-throw-if-not-resolved="false" data-raw-source="RetryPolicy"></xref> class with the specified number of retry attempts and fixed time interval between retries.</p>
<p></p>
syntax: public RetryPolicy(ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount, Duration retryInterval)
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.RetryPolicy(ITransientErrorDetectionStrategy,int,Duration)
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.RetryPolicy(ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount, Duration initialInterval, Duration increment)
name: RetryPolicy(ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount, Duration initialInterval, Duration increment)
nameWithType: RetryPolicy.RetryPolicy(ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount, Duration initialInterval, Duration increment)
parameters:
- description: <p>The <xref uid="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.ITransientErrorDetectionStrategy" data-throw-if-not-resolved="false" data-raw-source="ITransientErrorDetectionStrategy"></xref> that is responsible for detecting transient conditions. </p>
name: errorDetectionStrategy
type: <xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.ITransientErrorDetectionStrategy?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.ITransientErrorDetectionStrategy&text=ITransientErrorDetectionStrategy" data-throw-if-not-resolved="False"/>
- description: <p>The number of retry attempts. </p>
name: retryCount
type: <xref href="int?alt=int&text=int" data-throw-if-not-resolved="False"/>
- description: <p>The initial interval that will apply for the first retry. </p>
name: initialInterval
type: <xref href="Duration?alt=Duration&text=Duration" data-throw-if-not-resolved="False"/>
- description: <p>The incremental time value that will be used to calculate the progressive delay between retries. </p>
name: increment
type: <xref href="Duration?alt=Duration&text=Duration" data-throw-if-not-resolved="False"/>
summary: >-
<p>Initializes a new instance of the <xref uid="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy" data-throw-if-not-resolved="false" data-raw-source="RetryPolicy"></xref> class with the specified number of retry attempts and parameters defining the progressive delay between retries.</p>
<p></p>
syntax: public RetryPolicy(ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount, Duration initialInterval, Duration increment)
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.RetryPolicy(ITransientErrorDetectionStrategy,int,Duration,Duration)
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.RetryPolicy(ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount, Duration minBackoff, Duration maxBackoff, Duration deltaBackoff)
name: RetryPolicy(ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount, Duration minBackoff, Duration maxBackoff, Duration deltaBackoff)
nameWithType: RetryPolicy.RetryPolicy(ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount, Duration minBackoff, Duration maxBackoff, Duration deltaBackoff)
parameters:
- description: <p>The <xref uid="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.ITransientErrorDetectionStrategy" data-throw-if-not-resolved="false" data-raw-source="ITransientErrorDetectionStrategy"></xref> that is responsible for detecting transient conditions. </p>
name: errorDetectionStrategy
type: <xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.ITransientErrorDetectionStrategy?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.ITransientErrorDetectionStrategy&text=ITransientErrorDetectionStrategy" data-throw-if-not-resolved="False"/>
- description: <p>The number of retry attempts. </p>
name: retryCount
type: <xref href="int?alt=int&text=int" data-throw-if-not-resolved="False"/>
- description: <p>The minimum backoff time. </p>
name: minBackoff
type: <xref href="Duration?alt=Duration&text=Duration" data-throw-if-not-resolved="False"/>
- description: <p>The maximum backoff time. </p>
name: maxBackoff
type: <xref href="Duration?alt=Duration&text=Duration" data-throw-if-not-resolved="False"/>
- description: <p>The time value that will be used to calculate a random delta in the exponential delay between retries. </p>
name: deltaBackoff
type: <xref href="Duration?alt=Duration&text=Duration" data-throw-if-not-resolved="False"/>
summary: >-
<p>Initializes a new instance of the <xref uid="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy" data-throw-if-not-resolved="false" data-raw-source="RetryPolicy"></xref> class with the specified number of retry attempts and backoff parameters for calculating the exponential delay between retries.</p>
<p></p>
syntax: public RetryPolicy(ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount, Duration minBackoff, Duration maxBackoff, Duration deltaBackoff)
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.RetryPolicy(ITransientErrorDetectionStrategy,int,Duration,Duration,Duration)
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.RetryPolicy(ITransientErrorDetectionStrategy errorDetectionStrategy, RetryStrategy retryStrategy)
name: RetryPolicy(ITransientErrorDetectionStrategy errorDetectionStrategy, RetryStrategy retryStrategy)
nameWithType: RetryPolicy.RetryPolicy(ITransientErrorDetectionStrategy errorDetectionStrategy, RetryStrategy retryStrategy)
parameters:
- description: <p>The <xref uid="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.ITransientErrorDetectionStrategy" data-throw-if-not-resolved="false" data-raw-source="ITransientErrorDetectionStrategy"></xref> that is responsible for detecting transient conditions. </p>
name: errorDetectionStrategy
type: <xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.ITransientErrorDetectionStrategy?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.ITransientErrorDetectionStrategy&text=ITransientErrorDetectionStrategy" data-throw-if-not-resolved="False"/>
- description: <p>The strategy to use for this retry policy. </p>
name: retryStrategy
type: <xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryStrategy?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryStrategy&text=RetryStrategy" data-throw-if-not-resolved="False"/>
summary: >-
<p>Initializes a new instance of the <xref uid="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy" data-throw-if-not-resolved="false" data-raw-source="RetryPolicy"></xref> class with the specified number of retry attempts and parameters defining the progressive delay between retries.</p>
<p></p>
syntax: public RetryPolicy(ITransientErrorDetectionStrategy errorDetectionStrategy, RetryStrategy retryStrategy)
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.RetryPolicy(ITransientErrorDetectionStrategy,RetryStrategy)
fields:
- field:
type: Event<EventHandler<<xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryingEventArgs?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryingEventArgs&text=RetryingEventArgs" data-throw-if-not-resolved="False"/>>>
fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.retrying
name: retrying
nameWithType: RetryPolicy.retrying
summary: <p>An instance of a callback delegate that will be invoked whenever a retry condition is encountered. </p>
syntax: public Event<EventHandler<RetryingEventArgs>> retrying
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.retrying
inheritances:
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
methods:
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.executeAction(Callable<ResultT> callable)
name: executeAction(Callable<ResultT> callable)
nameWithType: RetryPolicy.executeAction(Callable<ResultT> callable)
parameters:
- description: <p>A delegate that represents the executable action that returns the result of type <em>ResultT</em> . </p>
name: callable
type: <xref href="Callable%3CResultT%3E?alt=Callable%3CResultT%3E&text=Callable%3CResultT%3E" data-throw-if-not-resolved="False"/>
returns:
description: <p>The result from the action. </p>
type: <xref href="%3CResultT%3E+ResultT?alt=%3CResultT%3E+ResultT&text=%3CResultT%3E+ResultT" data-throw-if-not-resolved="False"/>
summary: >-
<p>Repetitively executes the specified action while it satisfies the current retry policy. </p>
<p></p>
syntax: public <ResultT> ResultT executeAction(Callable<ResultT> callable)
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.executeAction(Callable<ResultT>)
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.executeAction(Runnable action)
name: executeAction(Runnable action)
nameWithType: RetryPolicy.executeAction(Runnable action)
parameters:
- description: <p>A delegate that represents the executable action that doesn't return any results. </p>
name: action
type: <xref href="Runnable?alt=Runnable&text=Runnable" data-throw-if-not-resolved="False"/>
summary: >-
<p>Repetitively executes the specified action while it satisfies the current retry policy.</p>
<p></p>
syntax: public void executeAction(Runnable action)
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.executeAction(Runnable)
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getDefaultExponential()
name: getDefaultExponential()
nameWithType: RetryPolicy.getDefaultExponential()
returns:
type: <xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy&text=RetryPolicy" data-throw-if-not-resolved="False"/>
summary: <p>Returns a default policy that implements a random exponential retry interval configured with the default <xref uid="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.FixedInterval" data-throw-if-not-resolved="false" data-raw-source="FixedInterval"></xref> retry strategy. The default retry policy treats all caught exceptions as transient errors. </p>
syntax: public static RetryPolicy getDefaultExponential()
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getDefaultExponential()
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getDefaultFixed()
name: getDefaultFixed()
nameWithType: RetryPolicy.getDefaultFixed()
returns:
type: <xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy&text=RetryPolicy" data-throw-if-not-resolved="False"/>
summary: <p>Returns a default policy that implements a fixed retry interval configured with the default <xref uid="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.FixedInterval" data-throw-if-not-resolved="false" data-raw-source="FixedInterval"></xref> retry strategy. The default retry policy treats all caught exceptions as transient errors. </p>
syntax: public static RetryPolicy getDefaultFixed()
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getDefaultFixed()
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getDefaultProgressive()
name: getDefaultProgressive()
nameWithType: RetryPolicy.getDefaultProgressive()
returns:
type: <xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy&text=RetryPolicy" data-throw-if-not-resolved="False"/>
summary: <p>Returns a default policy that implements a progressive retry interval configured with the default <xref uid="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.Incremental" data-throw-if-not-resolved="false" data-raw-source="Incremental"></xref> retry strategy. The default retry policy treats all caught exceptions as transient errors. </p>
syntax: public static RetryPolicy getDefaultProgressive()
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getDefaultProgressive()
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getDefaultRetryPolicy()
name: getDefaultRetryPolicy()
nameWithType: RetryPolicy.getDefaultRetryPolicy()
returns:
type: <xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy&text=RetryPolicy" data-throw-if-not-resolved="False"/>
summary: <p>Gets the default retry policy. 5 retries at 1 second intervals. </p>
syntax: public static RetryPolicy getDefaultRetryPolicy()
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getDefaultRetryPolicy()
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getDeltaBackOff()
name: getDeltaBackOff()
nameWithType: RetryPolicy.getDeltaBackOff()
returns:
type: <xref href="Duration?alt=Duration&text=Duration" data-throw-if-not-resolved="False"/>
syntax: public Duration getDeltaBackOff()
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getDeltaBackOff()
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getErrorDetectionStrategy()
name: getErrorDetectionStrategy()
nameWithType: RetryPolicy.getErrorDetectionStrategy()
returns:
type: final <xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.ITransientErrorDetectionStrategy?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.ITransientErrorDetectionStrategy&text=ITransientErrorDetectionStrategy" data-throw-if-not-resolved="False"/>
syntax: public final ITransientErrorDetectionStrategy getErrorDetectionStrategy()
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getErrorDetectionStrategy()
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getExponentialRetryStrategy()
name: getExponentialRetryStrategy()
nameWithType: RetryPolicy.getExponentialRetryStrategy()
returns:
description: <p>The RetryStrategy </p>
type: <xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryStrategy?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryStrategy&text=RetryStrategy" data-throw-if-not-resolved="False"/>
summary: >-
<p>Marshals this instance into the TFH library RetryStrategy type.</p>
<p></p>
syntax: public RetryStrategy getExponentialRetryStrategy()
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getExponentialRetryStrategy()
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getMaxBackOff()
name: getMaxBackOff()
nameWithType: RetryPolicy.getMaxBackOff()
returns:
type: <xref href="Duration?alt=Duration&text=Duration" data-throw-if-not-resolved="False"/>
syntax: public Duration getMaxBackOff()
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getMaxBackOff()
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getMinBackOff()
name: getMinBackOff()
nameWithType: RetryPolicy.getMinBackOff()
returns:
type: <xref href="Duration?alt=Duration&text=Duration" data-throw-if-not-resolved="False"/>
syntax: public Duration getMinBackOff()
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getMinBackOff()
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getNoRetry()
name: getNoRetry()
nameWithType: RetryPolicy.getNoRetry()
returns:
type: <xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy&text=RetryPolicy" data-throw-if-not-resolved="False"/>
summary: <p>Returns a default policy that performs no retries, but invokes the action only once. </p>
syntax: public static RetryPolicy getNoRetry()
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getNoRetry()
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getRetryCount()
name: getRetryCount()
nameWithType: RetryPolicy.getRetryCount()
returns:
type: <xref href="int?alt=int&text=int" data-throw-if-not-resolved="False"/>
syntax: public int getRetryCount()
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getRetryCount()
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getRetryStrategy()
name: getRetryStrategy()
nameWithType: RetryPolicy.getRetryStrategy()
returns:
type: final <xref href="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryStrategy?alt=com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryStrategy&text=RetryStrategy" data-throw-if-not-resolved="False"/>
syntax: public final RetryStrategy getRetryStrategy()
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.getRetryStrategy()
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.toString()
name: toString()
nameWithType: RetryPolicy.toString()
returns:
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
summary: <p>String representation of <xref uid="com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy" data-throw-if-not-resolved="false" data-raw-source="RetryPolicy"></xref>. </p>
syntax: public String toString()
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy.toString()
nameWithType: RetryPolicy
syntax: public class RetryPolicy
type: class
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy
fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.RetryPolicy
name: RetryPolicy
package: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling
summary: <p>Provides the base implementation of the retry mechanism for unreliable actions and transient conditions. </p>
metadata: {}