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.
      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.
      the new export ID
      See Also:
    • release

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

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

      exportId - the export ID
      the future