Package com.illumon.iris.db.v2
Class InstrumentedListener
- All Implemented Interfaces:
com.fishlib.base.log.LogOutputAppendable,NotificationQueue.Dependency,LivenessManager,LivenessNode,LivenessReferent,Listener,ListenerBase,Serializable
- Direct Known Subclasses:
BaseTable.ListenerImpl,InstrumentedListenerAdapter
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassDelivers the desired update, bracketed by performance instrumentation.Nested classes/interfaces inherited from class com.illumon.iris.db.v2.InstrumentedListenerBase
InstrumentedListenerBase.ErrorNotification, InstrumentedListenerBase.NotificationBase -
Constructor Summary
ConstructorsConstructorDescriptionInstrumentedListener(String description) InstrumentedListener(String description, boolean terminalListener) -
Method Summary
Modifier and TypeMethodDescriptiongetNotification(Index added, Index removed, Index modified) Creates a notification for the table changes.voidsetInitialImage(Index initialImage) Sets the index for the initial data.Methods inherited from class com.illumon.iris.db.v2.InstrumentedListenerBase
append, canExecute, getEntry, getErrorNotification, onFailure, onFailureInternal, onFailureInternalWithDependent, satisfied, setVerboseLogging, toStringMethods inherited from class com.illumon.iris.db.util.liveness.LivenessArtifact
manageWithCurrentScope, unmanage, unmanageMethods inherited from class com.illumon.iris.db.util.liveness.ReferenceCountedLivenessNode
destroy, dropReference, getWeakReference, initializeTransientFieldsForLiveness, onReferenceCountAtZero, tryManage, tryRetainReferenceMethods inherited from class com.illumon.util.referencecounting.ReferenceCounted
decrementReferenceCount, incrementReferenceCount, resetReferenceCount, tryDecrementReferenceCount, tryIncrementReferenceCountMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.illumon.iris.db.v2.ListenerBase
getErrorNotification, onFailureMethods 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
-
Constructor Details
-
InstrumentedListener
-
InstrumentedListener
-
-
Method Details
-
getNotification
Description copied from interface:ListenerCreates a notification for the table changes.- Specified by:
getNotificationin interfaceListener- Parameters:
added- rows addedremoved- rows removedmodified- rows modified- Returns:
- table change notification
-
setInitialImage
Description copied from interface:ListenerSets the index for the initial data.- Specified by:
setInitialImagein interfaceListener- Parameters:
initialImage- initial image
-