| Package | Description |
|---|---|
| com.microsoft.azure.storage |
This package contains the storage service base classes.
|
| com.microsoft.azure.storage.core |
FOR INTERNAL USE ONLY.
|
| Modifier and Type | Method and Description |
|---|---|
protected StorageRequest<ServiceClient,Void,ServiceProperties> |
ServiceClient.downloadServicePropertiesImpl(RequestOptions options,
boolean signAsTable) |
protected StorageRequest<ServiceClient,Void,ServiceStats> |
ServiceClient.getServiceStatsImpl(RequestOptions options,
boolean signAsTable) |
protected StorageRequest<ServiceClient,Void,Void> |
ServiceClient.uploadServicePropertiesImpl(ServiceProperties properties,
RequestOptions options,
OperationContext opContext,
boolean signAsTable) |
| Modifier and Type | Method and Description |
|---|---|
static StorageException |
StorageException.translateException(StorageRequest<?,?,?> request,
Exception cause,
OperationContext opContext)
RESERVED FOR INTERNAL USE.
|
| Modifier and Type | Method and Description |
|---|---|
static <CLIENT_TYPE,PARENT_TYPE,RESULT_TYPE> |
ExecutionEngine.executeWithRetry(CLIENT_TYPE client,
PARENT_TYPE parentObject,
StorageRequest<CLIENT_TYPE,PARENT_TYPE,RESULT_TYPE> task,
RetryPolicyFactory policyFactory,
OperationContext opContext)
Executes an operation and enforces a retrypolicy to handle any potential errors
|
static StreamMd5AndLength |
Utility.writeToOutputStream(InputStream sourceStream,
OutputStream outStream,
long writeLength,
boolean rewindSourceStream,
boolean calculateMD5,
OperationContext opContext,
RequestOptions options,
StorageRequest<?,?,Integer> request)
Reads data from an input stream and writes it to an output stream, calculates the length of the data written, and
optionally calculates the MD5 hash for the data.
|
| Constructor and Description |
|---|
LazySegmentedIterable(StorageRequest<CLIENT_TYPE,PARENT_TYPE,ResultSegment<ENTITY_TYPE>> segmentGenerator,
CLIENT_TYPE client,
PARENT_TYPE parent,
RetryPolicyFactory policyFactory,
OperationContext opContext) |
LazySegmentedIterator(StorageRequest<CLIENT_TYPE,PARENT_TYPE,ResultSegment<ENTITY_TYPE>> segmentGenerator,
CLIENT_TYPE client,
PARENT_TYPE parent,
RetryPolicyFactory policyFactory,
OperationContext opContext)
Initializes the LazySegmentedIterator.
|
/**
* 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.
*/