Interface Session

All Superinterfaces:
ApplicationService, AutoCloseable, ConsoleService, InputTableService, ObjectService, TableCreator<TableHandle>, TableHandleManager, TableService
All Known Implementing Classes:
SessionBase, SessionImpl

public interface Session
extends AutoCloseable, ApplicationService, ConsoleService, InputTableService, ObjectService, TableService
A session represents a client-side connection to a Deephaven server.
  • Method Details

    • close

      void close()
      Closes the session.
      Specified by:
      close in interface AutoCloseable
    • closeFuture

      CompletableFuture<Void> closeFuture()
      Closes the session.
      Returns:
      the future
    • newExportId

      ExportId newExportId()
      Advanced usage, creates a new export ID for this session, but must be managed by the caller. Useful for more advanced integrations, particularly around doPut. Callers are responsible for releasing the export ID if necessary.
      Returns:
      the new export ID
      See Also:
      release(ExportId)
    • release

      CompletableFuture<Void> release​(ExportId exportId)
      Releases an export ID.

      Note: this should only be called in combination with exports returned from newExportId().

      Parameters:
      exportId - the export ID
      Returns:
      the future