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

tech.ydb.coordination.impl.CoordinationServiceImpl Maven / Gradle / Ivy

The newest version!
package tech.ydb.coordination.impl;

import javax.annotation.WillNotClose;

import tech.ydb.coordination.CoordinationClient;
import tech.ydb.core.grpc.GrpcTransport;

/**
 *
 * @author Aleksandr Gorshenin
 */
public class CoordinationServiceImpl {
    private CoordinationServiceImpl() { }

    public static CoordinationClient newClient(@WillNotClose GrpcTransport transport) {
        Rpc rpc = new RpcImpl(transport);
        return new ClientImpl(rpc);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy