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
(TableHandle tableHandle, BarrageSubscriptionOptions options) Sources a barrage subscription from aTableHandle
.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.TableHandleException
InterruptedException
-
subscribe
Sources a barrage subscription from aTableHandle
. A new reference of the handle is created. The originaltableHandle
is still owned by the caller.- Parameters:
tableHandle
- the table handle to subscribe tooptions
- the options configuring the details of this subscription- Returns:
- the
BarrageSubscription
-