All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.cosmos.implementation.changefeed.epkversion.feedRangeGoneHandler.FeedRangeGoneHandler Maven / Gradle / Ivy

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.cosmos.implementation.changefeed.epkversion.feedRangeGoneHandler;

import com.azure.cosmos.implementation.changefeed.Lease;
import reactor.core.publisher.Flux;

/***
 * Handler to handle partition split or partition merge.
 */
public interface FeedRangeGoneHandler {
    Flux handlePartitionGone();
    boolean shouldDeleteCurrentLease();
    boolean shouldSkipDirectLeaseAssignment();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy