microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueueClient.java
@DoesServiceRequest
    public ResultSegment<CloudQueue> listQueuesSegmented(final String prefix,
            final QueueListingDetails detailsIncluded, final Integer maxResults,
            final ResultContinuation continuationToken, QueueRequestOptions options, OperationContext opContext)
            throws StorageException {

        if (opContext == null) {
            opContext = new OperationContext();
        }

        opContext.initialize();
        options = QueueRequestOptions.populateAndApplyDefaults(options, this);

        SegmentedStorageRequest segmentedRequest = new SegmentedStorageRequest();
        segmentedRequest.setToken(continuationToken);
        return ExecutionEngine.executeWithRetry(this, null,
                this.listQueuesSegmentedImpl(prefix, detailsIncluded, maxResults, options, segmentedRequest),
                options.getRetryPolicyFactory(), opContext);
    }
@DoesServiceRequest
    public ResultSegment<CloudQueue> listQueuesSegmented(final String prefix,
            final QueueListingDetails detailsIncluded, final Integer maxResults,
            final ResultContinuation continuationToken, QueueRequestOptions options, OperationContext opContext)
            throws StorageException {

        if (opContext == null) {
            opContext = new OperationContext();
        }

        opContext.initialize();
        options = QueueRequestOptions.populateAndApplyDefaults(options, this);

        SegmentedStorageRequest segmentedRequest = new SegmentedStorageRequest();
        segmentedRequest.setToken(continuationToken);
        return ExecutionEngine.executeWithRetry(this, null,
                this.listQueuesSegmentedImpl(prefix, detailsIncluded, maxResults, options, segmentedRequest),
                options.getRetryPolicyFactory(), opContext);
    }
Gets a result segment of an iterable collection of queues whose names
begin with the specified prefix for this queue, using the specified
listing details options, request options, and operation context.

@param prefix
A <code>String</code> that represents the prefix of the queue
name to match.
@param detailsIncluded
A {@link QueueListingDetails} value that indicates whether
queue metadata will be returned.
@param maxResults
The maximum number of results to retrieve.  If <code>null</code> or greater
than 5000, the server will return up to 5,000 items.  Must be at least 1.
@param continuationToken
A {@link ResultContinuation} object that represents a
continuation token returned by a previous listing operation.
@param options
A {@link QueueRequestOptions} object that specifies any additional options for
the request. Specifying <code>null</code> will use the default request options
from the associated service client ( {@link CloudQueue}).
@param opContext
An {@link OperationContext} object that represents the context
for the current operation. This object is used to track
requests to the storage service, and to provide additional
runtime information about the operation.

@return A {@link ResultSegment} of {@link CloudQueue} objects that contains a segment of
the iterable collection of {@link CloudQueue} objects that represent the requested
queues in the storage service.

@throws StorageException
If a storage service error occurred during the operation.