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

com.azure.cosmos.implementation.faultinjection.IFaultInjectorProvider Maven / Gradle / Ivy

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

package com.azure.cosmos.implementation.faultinjection;

import com.azure.cosmos.implementation.directconnectivity.rntbd.RntbdEndpoint;

/***
 * Fault injection provider.
 */
public interface IFaultInjectorProvider {

    /***
     * Get the server error injector.
     * @return the server error injector.
     */
    IServerErrorInjector getServerErrorInjector();

    /***
     * Register the rntbd connection error injector.
     * @param provider the rntbd endpoint provider.
     */
    void registerConnectionErrorInjector(RntbdEndpoint.Provider provider);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy