public void flush ( ) { logger . info ( String . format ( "(%s) Flush, buffer size: %d" , detectorImpl . getName ( ) , queue . size ( ) ) ) ; while ( queue . size ( ) > 0 ) detectorImpl . fireEvent ( queue . poll ( ) ) ; }
Flushes the buffer content .