Index
All Classes and Interfaces|All Packages
B
- build() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionConditionBuilder
-
Create new fault injection condition.
- build() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionConnectionErrorResultBuilder
-
Create a new
FaultInjectionConnectionErrorResult
. - build() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionEndpointBuilder
-
Create the fault injection endpoints.
- build() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionRuleBuilder
-
Create a new fault injection rule.
- build() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionServerErrorResultBuilder
-
Create a new fault injection server error result.
C
- com.azure.cosmos.test.faultinjection - package com.azure.cosmos.test.faultinjection
- condition(FaultInjectionCondition) - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionRuleBuilder
-
Set the condition of the rule.
- configureFaultInjectionRules(CosmosAsyncContainer, List<FaultInjectionRule>) - Static method in class com.azure.cosmos.test.faultinjection.CosmosFaultInjectionHelper
-
Configure fault injection rules.
- CONNECTION_CLOSE - Enum constant in enum com.azure.cosmos.test.faultinjection.FaultInjectionConnectionErrorType
-
Simulate connection close exception.
- CONNECTION_DELAY - Enum constant in enum com.azure.cosmos.test.faultinjection.FaultInjectionServerErrorType
-
simulate high channel acquisition, when it is over connection timeout, can simulate connectionTimeoutException
- CONNECTION_RESET - Enum constant in enum com.azure.cosmos.test.faultinjection.FaultInjectionConnectionErrorType
-
Simulate connection reset exception.
- connectionType(FaultInjectionConnectionType) - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionConditionBuilder
-
Set the connection type of the rule.
- CosmosFaultInjectionHelper - Class in com.azure.cosmos.test.faultinjection
-
Cosmos fault injection helper.
- CosmosFaultInjectionHelper() - Constructor for class com.azure.cosmos.test.faultinjection.CosmosFaultInjectionHelper
- CREATE_ITEM - Enum constant in enum com.azure.cosmos.test.faultinjection.FaultInjectionOperationType
-
Create item.
D
- delay(Duration) - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionServerErrorResultBuilder
-
This is only used for Server_Response_Delay and Server_Connection_Delay error tye.
- DELETE_ITEM - Enum constant in enum com.azure.cosmos.test.faultinjection.FaultInjectionOperationType
-
Delete item.
- DIRECT - Enum constant in enum com.azure.cosmos.test.faultinjection.FaultInjectionConnectionType
-
Direct connection type.
- disable() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionRule
-
Disable the fault injection rule.
- duration(Duration) - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionRuleBuilder
-
Set the effective duration of the rule.
E
- enabled(boolean) - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionRuleBuilder
-
Flag to indicate whether the rule is enabled.
- endpoints(FaultInjectionEndpoints) - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionConditionBuilder
-
Set the physical endpoints of the rule.
F
- FaultInjectionCondition - Class in com.azure.cosmos.test.faultinjection
-
Fault injection condition.
- FaultInjectionConditionBuilder - Class in com.azure.cosmos.test.faultinjection
-
Fault injection condition builder.
- FaultInjectionConditionBuilder() - Constructor for class com.azure.cosmos.test.faultinjection.FaultInjectionConditionBuilder
- FaultInjectionConnectionErrorResult - Class in com.azure.cosmos.test.faultinjection
-
Fault injection connection error result.
- FaultInjectionConnectionErrorResultBuilder - Class in com.azure.cosmos.test.faultinjection
-
Fault injection connection error result builder.
- FaultInjectionConnectionErrorType - Enum in com.azure.cosmos.test.faultinjection
-
Fault injection connection error type.
- FaultInjectionConnectionType - Enum in com.azure.cosmos.test.faultinjection
-
Fault injection connection type.
- FaultInjectionEndpointBuilder - Class in com.azure.cosmos.test.faultinjection
-
Fault injection endpoint builder.
- FaultInjectionEndpointBuilder(FeedRange) - Constructor for class com.azure.cosmos.test.faultinjection.FaultInjectionEndpointBuilder
-
Constructor.
- FaultInjectionEndpoints - Class in com.azure.cosmos.test.faultinjection
-
Fault injection endpoints.
- FaultInjectionOperationType - Enum in com.azure.cosmos.test.faultinjection
-
Fault injection operation type.
- FaultInjectionResultBuilders - Class in com.azure.cosmos.test.faultinjection
-
Fault injection result builders.
- FaultInjectionResultBuilders() - Constructor for class com.azure.cosmos.test.faultinjection.FaultInjectionResultBuilders
- FaultInjectionRule - Class in com.azure.cosmos.test.faultinjection
-
Fault injection rule.
- FaultInjectionRuleBuilder - Class in com.azure.cosmos.test.faultinjection
-
The fault injection rule builder.
- FaultInjectionRuleBuilder(String) - Constructor for class com.azure.cosmos.test.faultinjection.FaultInjectionRuleBuilder
-
The constructor.
- FaultInjectionServerErrorResult - Class in com.azure.cosmos.test.faultinjection
-
Fault injection server error result.
- FaultInjectionServerErrorResultBuilder - Class in com.azure.cosmos.test.faultinjection
-
Fault injection server error result builder.
- FaultInjectionServerErrorType - Enum in com.azure.cosmos.test.faultinjection
-
Fault injection server error type.
G
- getAddresses() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionRule
-
Get the physical addresses of the fault injection rule.
- getCondition() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionRule
-
Get the fault injection condition.
- getConnectionType() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionCondition
-
Get the connection type.
- getDelay() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionServerErrorResult
-
Get the injected delay for the server error.
- getDuration() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionRule
-
Get the effective life span of the fault injection rule.
- getEndpoints() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionCondition
-
Get the fault injection endpoints.
- getErrorType() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionConnectionErrorResult
-
Get the fault injection connection error type.
- getFeedRange() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionEndpoints
-
Get the feed range.
- getHitCount() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionRule
-
Get the count of how many times the rule has applied.
- getHitLimit() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionRule
-
Get the hit limit of the fault injection rule.
- getId() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionRule
-
Get the fault injection rule id.
- getInterval() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionConnectionErrorResult
-
Get the fault injection error rule apply interval.
- getOperationType() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionCondition
-
Get the operation type.
- getRegion() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionCondition
-
Get the configured region.
- getRegionEndpoints() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionRule
-
Get the region endpoints of the fault injection rule.
- getReplicaCount() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionEndpoints
-
Get the replica count.
- getResult() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionRule
-
Get the fault injection result.
- getResultBuilder(FaultInjectionConnectionErrorType) - Static method in class com.azure.cosmos.test.faultinjection.FaultInjectionResultBuilders
-
Get the connection error result builder.
- getResultBuilder(FaultInjectionServerErrorType) - Static method in class com.azure.cosmos.test.faultinjection.FaultInjectionResultBuilders
-
Get the server error result builder.
- getServerErrorType() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionServerErrorResult
-
Get the fault injection server error type.
- getStartDelay() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionRule
-
Get the start delay of the fault injection rule.
- getThreshold() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionConnectionErrorResult
-
Get the threshold of connections to be closed when the rule is applied.
- getTimes() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionServerErrorResult
-
Get the number of how many times the rule can be applied on a single operation.
- GONE - Enum constant in enum com.azure.cosmos.test.faultinjection.FaultInjectionServerErrorType
-
410 from server
H
- hitLimit(int) - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionRuleBuilder
-
Set the total hit limit of the rule.
I
- IFaultInjectionResult - Interface in com.azure.cosmos.test.faultinjection
-
Interface of fault injection result.
- includePrimary(boolean) - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionEndpointBuilder
-
Flag to indicate whether primary replica addresses can be used.
- INTERNAL_SERVER_ERROR - Enum constant in enum com.azure.cosmos.test.faultinjection.FaultInjectionServerErrorType
-
500 from server
- interval(Duration) - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionConnectionErrorResultBuilder
-
Indicates how often the connection error will be injected.
- isEnabled() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionRule
-
Get flag to indicate whether the rule is enabled.
- isIncludePrimary() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionEndpoints
-
Get the flag which indicates whether primary replica address can be used.
O
- operationType(FaultInjectionOperationType) - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionConditionBuilder
-
Set the operation type of the rule.
P
- PARTITION_IS_MIGRATING - Enum constant in enum com.azure.cosmos.test.faultinjection.FaultInjectionServerErrorType
-
410-1008 from server
- PATCH_ITEM - Enum constant in enum com.azure.cosmos.test.faultinjection.FaultInjectionOperationType
-
Patch item.
Q
- QUERY_ITEM - Enum constant in enum com.azure.cosmos.test.faultinjection.FaultInjectionOperationType
-
Query items.
R
- READ_ITEM - Enum constant in enum com.azure.cosmos.test.faultinjection.FaultInjectionOperationType
-
Read items.
- READ_SESSION_NOT_AVAILABLE - Enum constant in enum com.azure.cosmos.test.faultinjection.FaultInjectionServerErrorType
-
404-1002 from server
- region(String) - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionConditionBuilder
-
Set the region of the rule.
- REPLACE_ITEM - Enum constant in enum com.azure.cosmos.test.faultinjection.FaultInjectionOperationType
-
Replace item.
- replicaCount(int) - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionEndpointBuilder
-
Set the replica count of the fault injection endpoint.
- RESPONSE_DELAY - Enum constant in enum com.azure.cosmos.test.faultinjection.FaultInjectionServerErrorType
-
Response delay, when it is over request timeout, can simulate transit timeout
- result(IFaultInjectionResult) - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionRuleBuilder
-
Set the result of the rule.
- RETRY_WITH - Enum constant in enum com.azure.cosmos.test.faultinjection.FaultInjectionServerErrorType
-
449 from server
S
- startDelay(Duration) - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionRuleBuilder
-
Set the start time of the rule.
T
- threshold(double) - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionConnectionErrorResultBuilder
-
Indicates the percentage of total established connections will be impacted when the connection error is injected.
- TIMEOUT - Enum constant in enum com.azure.cosmos.test.faultinjection.FaultInjectionServerErrorType
-
408 from server
- times(int) - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionServerErrorResultBuilder
-
How many times the same fault injection rule can be applied per operation.
- TOO_MANY_REQUEST - Enum constant in enum com.azure.cosmos.test.faultinjection.FaultInjectionServerErrorType
-
429 from server
- toString() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionCondition
- toString() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionConnectionErrorResult
- toString() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionEndpoints
- toString() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionRule
- toString() - Method in class com.azure.cosmos.test.faultinjection.FaultInjectionServerErrorResult
U
- UPSERT_ITEM - Enum constant in enum com.azure.cosmos.test.faultinjection.FaultInjectionOperationType
-
Upsert item.
V
- valueOf(String) - Static method in enum com.azure.cosmos.test.faultinjection.FaultInjectionConnectionErrorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.azure.cosmos.test.faultinjection.FaultInjectionConnectionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.azure.cosmos.test.faultinjection.FaultInjectionOperationType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.azure.cosmos.test.faultinjection.FaultInjectionServerErrorType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.azure.cosmos.test.faultinjection.FaultInjectionConnectionErrorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.azure.cosmos.test.faultinjection.FaultInjectionConnectionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.azure.cosmos.test.faultinjection.FaultInjectionOperationType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.azure.cosmos.test.faultinjection.FaultInjectionServerErrorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes and Interfaces|All Packages