com.azure.cosmos.implementation.ICollectionRoutingMapCache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-cosmos Show documentation
Show all versions of azure-cosmos Show documentation
This Package contains Microsoft Azure Cosmos SDK (with Reactive Extension Reactor support) for Azure Cosmos DB SQL API
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.cosmos.implementation;
import com.azure.cosmos.implementation.routing.CollectionRoutingMap;
import reactor.core.publisher.Mono;
import java.util.Map;
// TODO: add documentation
/**
* While this class is public, but it is not part of our published public APIs.
* This is meant to be internally used only by our sdk.
**/
public interface ICollectionRoutingMapCache {
default Mono> tryLookupAsync(
MetadataDiagnosticsContext metaDataDiagnosticsContext,
String collectionRid,
CollectionRoutingMap previousValue,
Map properties) {
return tryLookupAsync(metaDataDiagnosticsContext, collectionRid, previousValue, false, properties);
}
Mono> tryLookupAsync(
MetadataDiagnosticsContext metaDataDiagnosticsContext,
String collectionRid,
CollectionRoutingMap previousValue,
boolean forceRefreshCollectionRoutingMap,
Map properties);
}