Package com.illumon.iris.db.v2
Interface ListenerBase
- All Superinterfaces:
LivenessManager
,LivenessNode
,LivenessReferent
- All Known Subinterfaces:
Listener
,ShiftAwareListener
- All Known Implementing Classes:
AddedTableLoggingListener
,AppendOnlyAssertionInstrumentedListenerAdapter
,BaseTable.ListenerImpl
,BaseTable.ShiftAwareListenerImpl
,DynamicTableToAdoConverter
,FullTableLoggingListener
,InstrumentedListener
,InstrumentedListenerAdapter
,InstrumentedListenerBase
,InstrumentedShiftAwareListener
,InstrumentedShiftAwareListenerAdapter
,JoinListenerRecorder
,ListenerRecorder
,PrintListener
,ShiftAwareSwapListener
,SnapshotInternalListener
,SortedAssertionInstrumentedListenerAdapter
,SortListener
,SwapListener
,SwapListenerBase
,TableLogger
,ToMapListener
public interface ListenerBase extends LivenessNode
Listener for table changes.
-
Method Summary
Modifier and Type Method Description NotificationQueue.Notification
getErrorNotification(Throwable originalException, UpdatePerformanceTracker.Entry sourceEntry)
Creates a notification for the exception.void
onFailure(Throwable originalException, UpdatePerformanceTracker.Entry sourceEntry)
Notification of exceptions.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
-
onFailure
Notification of exceptions.- Parameters:
originalException
- exceptionsourceEntry
- performance tracking
-
getErrorNotification
NotificationQueue.Notification getErrorNotification(Throwable originalException, UpdatePerformanceTracker.Entry sourceEntry)Creates a notification for the exception.- Parameters:
originalException
- exceptionsourceEntry
- performance tracking- Returns:
- exception notification
-