Class DisabledEventEntry

java.lang.Object
org.forgerock.openidm.smartevent.core.DisabledEventEntry
All Implemented Interfaces:
EventEntry

public class DisabledEventEntry extends Object implements EventEntry
Used when event publishing is disabled Empty method calls may get optimized out by the JIT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final void
    end()
    For events that mark/span the beginning and end of something, call this method to mark the completion of the event window.
    final void
    setResult(Object result)
    Optionally event consumer(s) can set a result to associate with the event e.g. for monitoring purposes
    final void
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DisabledEventEntry

      public DisabledEventEntry()
  • Method Details

    • start

      public final void start()
    • end

      public final void end()
      Description copied from interface: EventEntry
      For events that mark/span the beginning and end of something, call this method to mark the completion of the event window.
      Specified by:
      end in interface EventEntry
    • setResult

      public final void setResult(Object result)
      Description copied from interface: EventEntry
      Optionally event consumer(s) can set a result to associate with the event e.g. for monitoring purposes
      Specified by:
      setResult in interface EventEntry
    • toString

      public String toString()
      Overrides:
      toString in class Object