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
Listener for table changes.
-
Method Summary
Modifier and TypeMethodDescriptiongetErrorNotification(Throwable originalException, UpdatePerformanceTracker.Entry sourceEntry) Creates a notification for the exception.voidonFailure(Throwable originalException, UpdatePerformanceTracker.Entry sourceEntry) Notification of exceptions.Methods inherited from interface com.illumon.iris.db.util.liveness.LivenessManager
manage, tryManageMethods 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
-