Code example for ConcurrentLinkedQueue

Methods: offer

0
   * @param event 
   *          the log event to add to the queue 
   */ 
  public final void addLogEvent( LogEvent event )
  { 
    logEvents.offer( event );
  } 
   
  /* 
   * (non-Javadoc) 
   *  
   * @see 
   * de.unikassel.android.sdcframework.util.AbstractWorkerThread#doCleanUp() 
   */ 
  @Override 
  protected final void doCleanUp() 
  { 
    alarm.cancelAlarm();
    alarm.unregisterEventObserver( this );
    alarm.onPause( context );
    alarm.onDestroy( context );