net.floodlightcontroller.debugevent
Interface IEventUpdater<T>

All Known Implementing Classes:
DebugEvent.EventUpdaterImpl, NullDebugEvent.NullEventImpl

public interface IEventUpdater<T>

eventUPdater is used to log events for pre-registered events.


Method Summary
 void updateEventNoFlush(T event)
          Logs the instance of the event thread-locally.
 void updateEventWithFlush(T event)
          Logs the instance of the event thread-locally and immediated flushes to the global circular buffer for this event.
 

Method Detail

updateEventNoFlush

void updateEventNoFlush(T event)
Logs the instance of the event thread-locally. Flushing to the global circular buffer for this event is delayed resulting in better performance. This method should typically be used by those events that happen in the packet processing pipeline

Parameters:
event - an instance of the user-defined event of type T

updateEventWithFlush

void updateEventWithFlush(T event)
Logs the instance of the event thread-locally and immediated flushes to the global circular buffer for this event. This method should typically be used by those events that happen outside the packet processing pipeline

Parameters:
event - an instance of the user-defined event of type T