public interface Listener extends LivenessNode
Modifier and Type | Method and Description |
---|---|
NotificationQueue.Notification |
getErrorNotification(Throwable originalException,
UpdatePerformanceTracker.Entry sourceEntry)
Creates a notification for the exception.
|
NotificationQueue.IndexUpdateNotification |
getNotification(Index added,
Index removed,
Index modified)
Creates a notification for the table changes.
|
void |
onFailure(Throwable originalException,
UpdatePerformanceTracker.Entry sourceEntry)
Notification of exceptions.
|
void |
onUpdate(Index added,
Index removed,
Index modified)
Process notification of table changes.
|
void |
setInitialImage(Index initialImage)
Sets the index for the initial data.
|
dropReference, getReferentDescription, getWeakReference, retainReference, tryRetainReference
manage, tryManage
void onUpdate(Index added, Index removed, Index modified)
added
- rows addedremoved
- rows removedmodified
- rows modifiedvoid onFailure(Throwable originalException, UpdatePerformanceTracker.Entry sourceEntry)
originalException
- exceptionsourceEntry
- performance trackingNotificationQueue.IndexUpdateNotification getNotification(Index added, Index removed, Index modified)
added
- rows addedremoved
- rows removedmodified
- rows modifiedNotificationQueue.Notification getErrorNotification(Throwable originalException, UpdatePerformanceTracker.Entry sourceEntry)
originalException
- exceptionsourceEntry
- performance trackingvoid setInitialImage(Index initialImage)
initialImage
- initial image