-
Notifications
You must be signed in to change notification settings - Fork 223
/
com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.Guard.yml
102 lines (97 loc) · 6.16 KB
/
com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.Guard.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
### YamlMime:JavaType
inheritances:
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
methods:
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.Guard.argumentNotGreaterThan(double argumentValue, double ceilingValue, String argumentName)
name: argumentNotGreaterThan(double argumentValue, double ceilingValue, String argumentName)
nameWithType: Guard.argumentNotGreaterThan(double argumentValue, double ceilingValue, String argumentName)
parameters:
- description: <p>The Double value of the argument. </p>
name: argumentValue
type: <xref href="double?alt=double&text=double" data-throw-if-not-resolved="False"/>
- description: <p>The Double ceiling value of the argument. </p>
name: ceilingValue
type: <xref href="double?alt=double&text=double" data-throw-if-not-resolved="False"/>
- description: <p>The name of the argument for diagnostic purposes. </p>
name: argumentName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
summary: >-
<p>Checks an argument to ensure that its value doesn't exceed the specified ceiling baseline.</p>
<p></p>
syntax: public static void argumentNotGreaterThan(double argumentValue, double ceilingValue, String argumentName)
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.Guard.argumentNotGreaterThan(double,double,String)
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.Guard.argumentNotNegativeValue(int argumentValue, String argumentName)
name: argumentNotNegativeValue(int argumentValue, String argumentName)
nameWithType: Guard.argumentNotNegativeValue(int argumentValue, String argumentName)
parameters:
- description: <p>The Integer value of the argument. </p>
name: argumentValue
type: <xref href="int?alt=int&text=int" data-throw-if-not-resolved="False"/>
- description: <p>The name of the argument for diagnostic purposes. </p>
name: argumentName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
summary: >-
<p>Checks an argument to ensure that its 32-bit signed value isn't negative.</p>
<p></p>
syntax: public static void argumentNotNegativeValue(int argumentValue, String argumentName)
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.Guard.argumentNotNegativeValue(int,String)
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.Guard.argumentNotNegativeValue(long argumentValue, String argumentName)
name: argumentNotNegativeValue(long argumentValue, String argumentName)
nameWithType: Guard.argumentNotNegativeValue(long argumentValue, String argumentName)
parameters:
- description: <p>The Long value of the argument. </p>
name: argumentValue
type: <xref href="long?alt=long&text=long" data-throw-if-not-resolved="False"/>
- description: <p>The name of the argument for diagnostic purposes. </p>
name: argumentName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
summary: >-
<p>Checks an argument to ensure that its 64-bit signed value isn't negative.</p>
<p></p>
syntax: public static void argumentNotNegativeValue(long argumentValue, String argumentName)
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.Guard.argumentNotNegativeValue(long,String)
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.Guard.argumentNotNull(Object argumentValue, String argumentName)
name: argumentNotNull(Object argumentValue, String argumentName)
nameWithType: Guard.argumentNotNull(Object argumentValue, String argumentName)
parameters:
- description: <p>The argument value to check. </p>
name: argumentValue
type: <xref href="Object?alt=Object&text=Object" data-throw-if-not-resolved="False"/>
- description: <p>The name of the argument. </p>
name: argumentName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
returns:
description: <p>The return value should be ignored. It is intended to be used only when validating arguments during instance creation (for example, when calling the base constructor). </p>
type: <xref href="boolean?alt=boolean&text=boolean" data-throw-if-not-resolved="False"/>
summary: >-
<p>Checks an argument to ensure that it isn't null.</p>
<p></p>
syntax: public static boolean argumentNotNull(Object argumentValue, String argumentName)
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.Guard.argumentNotNull(Object,String)
- fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.Guard.argumentNotNullOrEmptyString(String argumentValue, String argumentName)
name: argumentNotNullOrEmptyString(String argumentValue, String argumentName)
nameWithType: Guard.argumentNotNullOrEmptyString(String argumentValue, String argumentName)
parameters:
- description: <p>The argument value to check. </p>
name: argumentValue
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>The name of the argument. </p>
name: argumentName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
returns:
description: <p>The return value should be ignored. It is intended to be used only when validating arguments during instance creation (for example, when calling the base constructor). </p>
type: <xref href="boolean?alt=boolean&text=boolean" data-throw-if-not-resolved="False"/>
summary: >-
<p>Checks a string argument to ensure that it isn't null or empty.</p>
<p></p>
syntax: public static boolean argumentNotNullOrEmptyString(String argumentValue, String argumentName)
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.Guard.argumentNotNullOrEmptyString(String,String)
nameWithType: Guard
syntax: public class Guard
type: class
uid: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.Guard
fullName: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling.Guard
name: Guard
package: com.microsoft.azure.elasticdb.core.commons.transientfaulthandling
summary: <p>Implements the common guard methods. </p>
metadata: {}