io.deephaven.client.impl.FlightSessionFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deephaven-java-client-flight Show documentation
Show all versions of deephaven-java-client-flight Show documentation
The Deephaven client flight library
//
// 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