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

com.tangosol.internal.net.grpc.RemoteGrpcCacheServiceDependencies Maven / Gradle / Ivy

There is a newer version: 24.09
Show newest version
/*
 * Copyright (c) 2000, 2022, Oracle and/or its affiliates.
 *
 * Licensed under the Universal Permissive License v 1.0 as shown at
 * https://oss.oracle.com/licenses/upl.
 */
package com.tangosol.internal.net.grpc;

import com.tangosol.config.expression.Expression;

import com.tangosol.internal.net.service.extend.remote.RemoteCacheServiceDependencies;

import com.tangosol.internal.util.DaemonPoolDependencies;

import com.tangosol.net.grpc.GrpcChannelDependencies;

/**
 * The RemoteGrpcCacheServiceDependencies interface provides a gRPC
 * RemoteCacheService with its external dependencies.
 *
 * @author Jonathan Knight  2022.08.25
 * @since 22.06.2
 */
public interface RemoteGrpcCacheServiceDependencies
        extends RemoteCacheServiceDependencies
    {
    /**
     * Return the name of the scope on the remote to connect to on the cluster.
     *
     * @return the name of the scope on the remote to connect to on the cluster
     */
    String getRemoteScopeName();

    /**
     * Return the ChannelProvider builder.
     *
     * @return the ChannelProvider builder
     */
    GrpcChannelDependencies getChannelDependencies();

    /**
     * Return the {@link Expression} that will produce the flag to
     * determine whether client tracing is enabled.
     *
     * @return the {@link Expression} that will produce the flag to
     *         determine whether client tracing is enabled
     */
    Expression isTracingEnabled();

    /**
     * Return the {@link DaemonPoolDependencies}.
     *
     * @return the {@link DaemonPoolDependencies}
     */
    DaemonPoolDependencies getDaemonPoolDependencies();
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy