Class TableSubscription
java.lang.Object
com.illumon.iris.sbetransport.server.TableSubscription
- All Implemented Interfaces:
AutoCloseable
public class TableSubscription extends Object implements AutoCloseable
Holder for stuff related to an active table subscription.
Starting and closing are synchronized to avoid races.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTableSubscription.ColumnData -
Method Summary
Modifier and Type Method Description voidclose()TableSubscription.ColumnData[]getColumns()InstrumentedListenergetListener()SubscribeModegetMode()intgetSubId()DynamicTablegetTable()voidstart()
-
Method Details
-
start
public void start() -
getSubId
public int getSubId() -
getListener
-
getTable
-
getColumns
-
getMode
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-