271 строка
12 KiB
YAML
271 строка
12 KiB
YAML
### YamlMime:ManagedReference
|
|
items:
|
|
- uid: com.microsoft.azure.storage._retry_context
|
|
id: _retry_context
|
|
parent: com.microsoft.azure.storage
|
|
children:
|
|
- com.microsoft.azure.storage._retry_context.getCurrentRetryCount()
|
|
- com.microsoft.azure.storage._retry_context.getLastRequestResult()
|
|
- com.microsoft.azure.storage._retry_context.getLocationMode()
|
|
- com.microsoft.azure.storage._retry_context.getNextLocation()
|
|
- com.microsoft.azure.storage._retry_context.RetryContext(int,RequestResult,StorageLocation,LocationMode)
|
|
- com.microsoft.azure.storage._retry_context.toString()
|
|
href: com.microsoft.azure.storage._retry_context.yml
|
|
langs:
|
|
- java
|
|
name: RetryContext
|
|
nameWithType: RetryContext
|
|
fullName: com.microsoft.azure.storage.RetryContext
|
|
type: Class
|
|
source:
|
|
remote: &o0
|
|
path: microsoft-azure-storage/src/com/microsoft/azure/storage/RetryContext.java
|
|
branch: master
|
|
repo: https://github.com/Azure/azure-storage-java
|
|
path: microsoft-azure-storage/src/com/microsoft/azure/storage/RetryContext.java
|
|
startLine: 21
|
|
package: com.microsoft.azure.storage
|
|
summary: <p>Represents the context for a retry of a request made against the storage services. </p>
|
|
syntax: &o1
|
|
content: public class RetryContext
|
|
inheritance:
|
|
- java.lang.Object
|
|
- uid: com.microsoft.azure.storage._retry_context.getCurrentRetryCount()
|
|
id: getCurrentRetryCount()
|
|
parent: com.microsoft.azure.storage._retry_context
|
|
href: com.microsoft.azure.storage._retry_context.yml
|
|
langs:
|
|
- java
|
|
name: getCurrentRetryCount()
|
|
nameWithType: RetryContext.getCurrentRetryCount()
|
|
fullName: com.microsoft.azure.storage.RetryContext.getCurrentRetryCount()
|
|
overload: com.microsoft.azure.storage._retry_context.getCurrentRetryCount*
|
|
type: Method
|
|
source:
|
|
remote: *o0
|
|
path: microsoft-azure-storage/src/com/microsoft/azure/storage/RetryContext.java
|
|
startLine: 67
|
|
package: com.microsoft.azure.storage
|
|
summary: >-
|
|
<p>Gets the number of retries for the given operation.</p>
|
|
|
|
<p></p>
|
|
syntax:
|
|
content: public int getCurrentRetryCount()
|
|
return:
|
|
type: f75371fa
|
|
description: <p>An <code>int</code> which represents the number of retries for the given operation. </p>
|
|
- uid: com.microsoft.azure.storage._retry_context.getLastRequestResult()
|
|
id: getLastRequestResult()
|
|
parent: com.microsoft.azure.storage._retry_context
|
|
href: com.microsoft.azure.storage._retry_context.yml
|
|
langs:
|
|
- java
|
|
name: getLastRequestResult()
|
|
nameWithType: RetryContext.getLastRequestResult()
|
|
fullName: com.microsoft.azure.storage.RetryContext.getLastRequestResult()
|
|
overload: com.microsoft.azure.storage._retry_context.getLastRequestResult*
|
|
type: Method
|
|
source:
|
|
remote: *o0
|
|
path: microsoft-azure-storage/src/com/microsoft/azure/storage/RetryContext.java
|
|
startLine: 76
|
|
package: com.microsoft.azure.storage
|
|
summary: >-
|
|
<p>Gets the last request's results.</p>
|
|
|
|
<p></p>
|
|
syntax:
|
|
content: public RequestResult getLastRequestResult()
|
|
return:
|
|
type: com.microsoft.azure.storage._request_result
|
|
description: <p>A <xref uid="com.microsoft.azure.storage._request_result" data-throw-if-not-resolved="false">RequestResult</xref> object which represents the last request's results. </p>
|
|
- uid: com.microsoft.azure.storage._retry_context.getLocationMode()
|
|
id: getLocationMode()
|
|
parent: com.microsoft.azure.storage._retry_context
|
|
href: com.microsoft.azure.storage._retry_context.yml
|
|
langs:
|
|
- java
|
|
name: getLocationMode()
|
|
nameWithType: RetryContext.getLocationMode()
|
|
fullName: com.microsoft.azure.storage.RetryContext.getLocationMode()
|
|
overload: com.microsoft.azure.storage._retry_context.getLocationMode*
|
|
type: Method
|
|
source:
|
|
remote: *o0
|
|
path: microsoft-azure-storage/src/com/microsoft/azure/storage/RetryContext.java
|
|
startLine: 85
|
|
package: com.microsoft.azure.storage
|
|
summary: >-
|
|
<p>Gets the location mode for subsequent retries.</p>
|
|
|
|
<p></p>
|
|
syntax:
|
|
content: public LocationMode getLocationMode()
|
|
return:
|
|
type: com.microsoft.azure.storage._location_mode
|
|
description: <p>A <xref uid="com.microsoft.azure.storage._location_mode" data-throw-if-not-resolved="false">LocationMode</xref> value which represents the location mode for subsequent retries. </p>
|
|
- uid: com.microsoft.azure.storage._retry_context.getNextLocation()
|
|
id: getNextLocation()
|
|
parent: com.microsoft.azure.storage._retry_context
|
|
href: com.microsoft.azure.storage._retry_context.yml
|
|
langs:
|
|
- java
|
|
name: getNextLocation()
|
|
nameWithType: RetryContext.getNextLocation()
|
|
fullName: com.microsoft.azure.storage.RetryContext.getNextLocation()
|
|
overload: com.microsoft.azure.storage._retry_context.getNextLocation*
|
|
type: Method
|
|
source:
|
|
remote: *o0
|
|
path: microsoft-azure-storage/src/com/microsoft/azure/storage/RetryContext.java
|
|
startLine: 94
|
|
package: com.microsoft.azure.storage
|
|
summary: >-
|
|
<p>Gets the location that the next retry should target.</p>
|
|
|
|
<p></p>
|
|
syntax:
|
|
content: public StorageLocation getNextLocation()
|
|
return:
|
|
type: com.microsoft.azure.storage._storage_location
|
|
description: <p>A <xref uid="com.microsoft.azure.storage._storage_location" data-throw-if-not-resolved="false">StorageLocation</xref> object which represents the location for subsequent retries. </p>
|
|
- uid: com.microsoft.azure.storage._retry_context.RetryContext(int,RequestResult,StorageLocation,LocationMode)
|
|
id: RetryContext(int,RequestResult,StorageLocation,LocationMode)
|
|
parent: com.microsoft.azure.storage._retry_context
|
|
href: com.microsoft.azure.storage._retry_context.yml
|
|
langs:
|
|
- java
|
|
name: RetryContext(int currentRetryCount, RequestResult lastRequestResult, StorageLocation nextLocation, LocationMode locationMode)
|
|
nameWithType: RetryContext.RetryContext(int currentRetryCount, RequestResult lastRequestResult, StorageLocation nextLocation, LocationMode locationMode)
|
|
fullName: com.microsoft.azure.storage.RetryContext.RetryContext(int currentRetryCount, RequestResult lastRequestResult, StorageLocation nextLocation, LocationMode locationMode)
|
|
overload: com.microsoft.azure.storage._retry_context.RetryContext*
|
|
type: Constructor
|
|
source:
|
|
remote: *o0
|
|
path: microsoft-azure-storage/src/com/microsoft/azure/storage/RetryContext.java
|
|
startLine: 54
|
|
package: com.microsoft.azure.storage
|
|
summary: >-
|
|
<p>Creates an instance of the class.</p>
|
|
|
|
<p></p>
|
|
syntax:
|
|
content: public RetryContext(int currentRetryCount, RequestResult lastRequestResult, StorageLocation nextLocation, LocationMode locationMode)
|
|
parameters:
|
|
- id: currentRetryCount
|
|
type: f75371fa
|
|
description: <p>An <code>int</code> which represents the number of retries for the given operation. </p>
|
|
- id: lastRequestResult
|
|
type: com.microsoft.azure.storage._request_result
|
|
description: <p>A <xref uid="com.microsoft.azure.storage._request_result" data-throw-if-not-resolved="false">RequestResult</xref> object which represents the last request's results. </p>
|
|
- id: nextLocation
|
|
type: com.microsoft.azure.storage._storage_location
|
|
description: <p>A <xref uid="com.microsoft.azure.storage._storage_location" data-throw-if-not-resolved="false">StorageLocation</xref> object which represents the location mode for subsequent retries. </p>
|
|
- id: locationMode
|
|
type: com.microsoft.azure.storage._location_mode
|
|
description: <p>A <xref uid="com.microsoft.azure.storage._location_mode" data-throw-if-not-resolved="false">LocationMode</xref> value which represents the location mode for subsequent retries. </p>
|
|
- uid: com.microsoft.azure.storage._retry_context.toString()
|
|
id: toString()
|
|
parent: com.microsoft.azure.storage._retry_context
|
|
href: com.microsoft.azure.storage._retry_context.yml
|
|
langs:
|
|
- java
|
|
name: toString()
|
|
nameWithType: RetryContext.toString()
|
|
fullName: com.microsoft.azure.storage.RetryContext.toString()
|
|
overload: com.microsoft.azure.storage._retry_context.toString*
|
|
type: Method
|
|
source:
|
|
remote: *o0
|
|
path: microsoft-azure-storage/src/com/microsoft/azure/storage/RetryContext.java
|
|
startLine: 104
|
|
package: com.microsoft.azure.storage
|
|
summary: >-
|
|
<p>Returns a string that represents the current <xref uid="com.microsoft.azure.storage._retry_context" data-throw-if-not-resolved="false">RetryContext</xref> instance.</p>
|
|
|
|
<p></p>
|
|
syntax:
|
|
content: public String toString()
|
|
return:
|
|
type: "26831127"
|
|
description: <p>An <code>String</code> which represents the current <xref uid="com.microsoft.azure.storage._retry_context" data-throw-if-not-resolved="false">RetryContext</xref> instance. </p>
|
|
references:
|
|
- uid: f75371fa
|
|
spec.java:
|
|
- name: int
|
|
fullName: int
|
|
- uid: com.microsoft.azure.storage._retry_context.RetryContext*
|
|
name: RetryContext
|
|
nameWithType: RetryContext.RetryContext
|
|
fullName: com.microsoft.azure.storage.RetryContext.RetryContext
|
|
package: com.microsoft.azure.storage
|
|
- uid: com.microsoft.azure.storage._retry_context.getCurrentRetryCount*
|
|
name: getCurrentRetryCount
|
|
nameWithType: RetryContext.getCurrentRetryCount
|
|
fullName: com.microsoft.azure.storage.RetryContext.getCurrentRetryCount
|
|
package: com.microsoft.azure.storage
|
|
- uid: com.microsoft.azure.storage._retry_context.getLastRequestResult*
|
|
name: getLastRequestResult
|
|
nameWithType: RetryContext.getLastRequestResult
|
|
fullName: com.microsoft.azure.storage.RetryContext.getLastRequestResult
|
|
package: com.microsoft.azure.storage
|
|
- uid: com.microsoft.azure.storage._retry_context.getLocationMode*
|
|
name: getLocationMode
|
|
nameWithType: RetryContext.getLocationMode
|
|
fullName: com.microsoft.azure.storage.RetryContext.getLocationMode
|
|
package: com.microsoft.azure.storage
|
|
- uid: com.microsoft.azure.storage._retry_context.getNextLocation*
|
|
name: getNextLocation
|
|
nameWithType: RetryContext.getNextLocation
|
|
fullName: com.microsoft.azure.storage.RetryContext.getNextLocation
|
|
package: com.microsoft.azure.storage
|
|
- uid: "26831127"
|
|
spec.java:
|
|
- name: String
|
|
fullName: String
|
|
- uid: com.microsoft.azure.storage._retry_context.toString*
|
|
name: toString
|
|
nameWithType: RetryContext.toString
|
|
fullName: com.microsoft.azure.storage.RetryContext.toString
|
|
package: com.microsoft.azure.storage
|
|
- uid: com.microsoft.azure.storage._storage_location
|
|
parent: com.microsoft.azure.storage
|
|
href: com.microsoft.azure.storage._storage_location.yml
|
|
name: StorageLocation
|
|
nameWithType: StorageLocation
|
|
fullName: com.microsoft.azure.storage.StorageLocation
|
|
type: Enum
|
|
summary: <p>Represents a storage service location. </p>
|
|
syntax:
|
|
content: public enum StorageLocation
|
|
- uid: com.microsoft.azure.storage._location_mode
|
|
parent: com.microsoft.azure.storage
|
|
href: com.microsoft.azure.storage._location_mode.yml
|
|
name: LocationMode
|
|
nameWithType: LocationMode
|
|
fullName: com.microsoft.azure.storage.LocationMode
|
|
type: Enum
|
|
summary: <p>Specifies the location mode used to decide which location the request should be sent to. </p>
|
|
syntax:
|
|
content: public enum LocationMode
|
|
- uid: com.microsoft.azure.storage._request_result
|
|
parent: com.microsoft.azure.storage
|
|
href: com.microsoft.azure.storage._request_result.yml
|
|
name: RequestResult
|
|
nameWithType: RequestResult
|
|
fullName: com.microsoft.azure.storage.RequestResult
|
|
type: Class
|
|
summary: <p>Represents the result of a physical request. </p>
|
|
syntax:
|
|
content: public class RequestResult
|
|
- uid: com.microsoft.azure.storage._retry_context
|
|
parent: com.microsoft.azure.storage
|
|
href: com.microsoft.azure.storage._retry_context.yml
|
|
name: RetryContext
|
|
nameWithType: RetryContext
|
|
fullName: com.microsoft.azure.storage.RetryContext
|
|
type: Class
|
|
summary: <p>Represents the context for a retry of a request made against the storage services. </p>
|
|
syntax: *o1
|