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 TypeMethodDescriptiondefault BarrageSubscriptionsubscribe(TableHandle tableHandle) Sources a barrage subscription from aTableHandle.subscribe(TableHandle tableHandle, BarrageSubscriptionOptions options) Sources a barrage subscription from aTableHandle.default BarrageSubscriptionSources a barrage subscription from aTableSpec.subscribe(TableSpec tableSpec, BarrageSubscriptionOptions options) Sources a barrage subscription from aTableSpec.
-
Method Details
-
subscribe
BarrageSubscription subscribe(TableSpec tableSpec, BarrageSubscriptionOptions options) throws 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:
TableHandle.TableHandleExceptionInterruptedException
-
subscribe
@FinalDefault default BarrageSubscription subscribe(TableSpec tableSpec) throws TableHandle.TableHandleException, InterruptedException Sources a barrage subscription from aTableSpec.- Parameters:
tableSpec- the tableSpec to resolve and then subscribe to- Returns:
- the
BarrageSubscription - Throws:
TableHandle.TableHandleExceptionInterruptedException
-
subscribe
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
-
subscribe
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 to- Returns:
- the
BarrageSubscription
-