net.floodlightcontroller.debugevent
Class DebugEvent.EventUpdaterImpl<T>

java.lang.Object
  extended by net.floodlightcontroller.debugevent.DebugEvent.EventUpdaterImpl<T>
All Implemented Interfaces:
IEventUpdater<T>
Enclosing class:
DebugEvent

protected class DebugEvent.EventUpdaterImpl<T>
extends java.lang.Object
implements IEventUpdater<T>


Constructor Summary
DebugEvent.EventUpdaterImpl(int evId)
           
 
Method Summary
 void updateEventNoFlush(java.lang.Object event)
          Logs the instance of the event thread-locally.
 void updateEventWithFlush(java.lang.Object event)
          Logs the instance of the event thread-locally and immediated flushes to the global circular buffer for this event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugEvent.EventUpdaterImpl

public DebugEvent.EventUpdaterImpl(int evId)
Method Detail

updateEventNoFlush

public void updateEventNoFlush(java.lang.Object event)
Description copied from interface: IEventUpdater
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

Specified by:
updateEventNoFlush in interface IEventUpdater<T>
Parameters:
event - an instance of the user-defined event of type T

updateEventWithFlush

public void updateEventWithFlush(java.lang.Object event)
Description copied from interface: IEventUpdater
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

Specified by:
updateEventWithFlush in interface IEventUpdater<T>
Parameters:
event - an instance of the user-defined event of type T