Package com.illumon.iris.db.v2
Class KeyedTableListener
java.lang.Object
com.illumon.iris.db.v2.KeyedTableListener
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static interface
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
long
getIndex
(com.fishlib.datastructures.util.SmartKey key) Object[]
getRow
(com.fishlib.datastructures.util.SmartKey key) Object[]
Object[]
Object[]
getRowAtIndex
(long index) Object[]
getRowAtIndex
(long index, String... columnNames) long
getTableRow
(com.fishlib.datastructures.util.SmartKey key) void
void
subscribe
(com.fishlib.datastructures.util.SmartKey key, KeyedTableListener.KeyUpdateListener listener) void
subscribe
(com.fishlib.datastructures.util.SmartKey key, KeyedTableListener.KeyUpdateListener listener, boolean replayInitialData) void
unsubscribe
(com.fishlib.datastructures.util.SmartKey key, KeyedTableListener.KeyUpdateListener listener)
-
Constructor Details
-
KeyedTableListener
-
-
Method Details
-
listenForUpdates
public void listenForUpdates() -
close
public void close() -
getIndex
public long getIndex(com.fishlib.datastructures.util.SmartKey key) -
getRow
-
getRow
-
getRowAtIndex
-
getRow
-
getRowAtIndex
-
getTableRow
public long getTableRow(com.fishlib.datastructures.util.SmartKey key) -
subscribe
public void subscribe(com.fishlib.datastructures.util.SmartKey key, KeyedTableListener.KeyUpdateListener listener) -
subscribe
public void subscribe(com.fishlib.datastructures.util.SmartKey key, KeyedTableListener.KeyUpdateListener listener, boolean replayInitialData) -
unsubscribe
public void unsubscribe(com.fishlib.datastructures.util.SmartKey key, KeyedTableListener.KeyUpdateListener listener)
-