Package | Description |
---|---|
com.microsoft.azure.storage |
This package contains the storage service base classes.
|
com.microsoft.azure.storage.file |
This package contains the storage service file classes.
|
Modifier and Type | Method and Description |
---|---|
LocationMode |
RetryContext.getLocationMode()
Gets the location mode for subsequent retries.
|
LocationMode |
RequestOptions.getLocationMode()
Gets the default location mode for this request.
|
LocationMode |
RetryInfo.getUpdatedLocationMode()
Gets the location mode for subsequent retries.
|
static LocationMode |
LocationMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocationMode[] |
LocationMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
RequestOptions.setLocationMode(LocationMode locationMode)
Sets the
LocationMode for this request. |
void |
RetryInfo.setUpdatedLocationMode(LocationMode updatedLocationMode)
Sets the location mode for subsequent retries.
|
boolean |
StorageUri.validateLocationMode(LocationMode mode)
Validate that a URI exists for the specified
. |
Constructor and Description |
---|
RetryContext(int currentRetryCount,
RequestResult lastRequestResult,
StorageLocation nextLocation,
LocationMode locationMode)
Creates an instance of the
RequestResult class. |
Modifier and Type | Method and Description |
---|---|
void |
FileRequestOptions.setLocationMode(LocationMode locationMode)
Sets the
LocationMode for this request. |
/**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/