com.azure.cosmos.implementation.changefeed.RequestOptionsFactory Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.cosmos.implementation.changefeed;
import com.azure.cosmos.models.CosmosItemRequestOptions;
import com.azure.cosmos.models.CosmosQueryRequestOptions;
/**
* Defines request options for lease requests to use with {@link LeaseStoreManager}.
*/
public interface RequestOptionsFactory {
CosmosItemRequestOptions createItemRequestOptions(Lease lease);
CosmosQueryRequestOptions createQueryRequestOptions();
}