Package io.deephaven.client.impl
Interface BarrageSubscription.Factory
- All Known Implementing Classes:
BarrageSession
- Enclosing interface:
- BarrageSubscription
public static interface BarrageSubscription.Factory
-
Method Summary
Modifier and TypeMethodDescriptionsubscribe(@NotNull io.deephaven.client.impl.TableHandle tableHandle, @NotNull BarrageSubscriptionOptions options) Sources a barrage subscription from aTableHandle.subscribe(@NotNull io.deephaven.qst.table.TableSpec tableSpec, @NotNull BarrageSubscriptionOptions options) Sources a barrage subscription from aTableSpec.
-
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 aTableSpec.- Parameters:
tableSpec- the tableSpec to resolve and then subscribe tooptions- the options configuring the details of this subscription- Returns:
- the
BarrageSubscription - Throws:
io.deephaven.client.impl.TableHandle.TableHandleExceptionInterruptedException
-
subscribe
BarrageSubscription subscribe(@NotNull @NotNull io.deephaven.client.impl.TableHandle tableHandle, @NotNull @NotNull BarrageSubscriptionOptions options) Sources a barrage subscription from aTableHandle. A new reference of the handle is created. The originaltableHandleis still owned by the caller.- Parameters:
tableHandle- the table handle to subscribe tooptions- the options configuring the details of this subscription- Returns:
- the
BarrageSubscription
-