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

io.deephaven.client.impl.FlightSessionFactory Maven / Gradle / Ivy

There is a newer version: 0.37.1
Show newest version
//
// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending
//
package io.deephaven.client.impl;

import io.grpc.ManagedChannel;

public interface FlightSessionFactory {
    /**
     * Creates a new {@link FlightSession}. Closing the session does not close the {@link #managedChannel()}.
     *
     * @return the new flight session
     */
    FlightSession newFlightSession();

    /**
     * The {@link ManagedChannel} associated with {@code this} factory. Use {@link ManagedChannel#shutdown()} when
     * {@code this} factory and sessions are no longer needed.
     *
     * @return the managed channel
     */
    ManagedChannel managedChannel();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy