Package com.illumon.iris.db.v2
Interface Listener
- All Superinterfaces:
ListenerBase
,LivenessManager
,LivenessNode
,LivenessReferent
- All Known Implementing Classes:
BaseTable.ListenerImpl
,DynamicTableToAdoConverter
,InstrumentedListener
,InstrumentedListenerAdapter
,SwapListener
,TableLogger
public interface Listener extends ListenerBase
Listener for table changes.
-
Method Summary
Modifier and Type Method Description NotificationQueue.IndexUpdateNotification
getNotification(Index added, Index removed, Index modified)
Creates a notification for the table changes.void
onUpdate(Index added, Index removed, Index modified)
Process notification of table changes.void
setInitialImage(Index initialImage)
Sets the index for the initial data.Methods inherited from interface com.illumon.iris.db.v2.ListenerBase
getErrorNotification, onFailure
Methods inherited from interface com.illumon.iris.db.util.liveness.LivenessManager
manage, tryManage
Methods inherited from interface com.illumon.iris.db.util.liveness.LivenessReferent
dropReference, getReferentDescription, getWeakReference, retainReference, tryRetainReference
-
Method Details
-
onUpdate
Process notification of table changes.- Parameters:
added
- rows addedremoved
- rows removedmodified
- rows modified
-
getNotification
NotificationQueue.IndexUpdateNotification getNotification(Index added, Index removed, Index modified)Creates a notification for the table changes.- Parameters:
added
- rows addedremoved
- rows removedmodified
- rows modified- Returns:
- table change notification
-
setInitialImage
Sets the index for the initial data.- Parameters:
initialImage
- initial image
-