Interface BarrageSubscription.Factory

All Known Implementing Classes:
BarrageSession
Enclosing interface:
BarrageSubscription

public static interface BarrageSubscription.Factory
  • Method Details

    • subscribe

      BarrageSubscription subscribe(@NotNull @NotNull io.deephaven.qst.table.TableSpec tableSpec, @NotNull @NotNull BarrageSubscriptionOptions options) throws io.deephaven.client.impl.TableHandle.TableHandleException, InterruptedException
      Sources a barrage subscription from a TableSpec.
      Parameters:
      tableSpec - the tableSpec to resolve and then subscribe to
      options - the options configuring the details of this subscription
      Returns:
      the BarrageSubscription
      Throws:
      io.deephaven.client.impl.TableHandle.TableHandleException
      InterruptedException
    • subscribe

      BarrageSubscription subscribe(@NotNull @NotNull io.deephaven.client.impl.TableHandle tableHandle, @NotNull @NotNull BarrageSubscriptionOptions options)
      Sources a barrage subscription from a TableHandle. A new reference of the handle is created. The original tableHandle is still owned by the caller.
      Parameters:
      tableHandle - the table handle to subscribe to
      options - the options configuring the details of this subscription
      Returns:
      the BarrageSubscription