private Holder < T > getOrReset ( ) { if ( buffer . get ( ) == null || buffer . get ( ) . getBuffer ( ) . isEmpty ( ) ) { resetEventBuffer ( ) ; } return buffer . get ( ) ; }
get the thread s event buffer reset it if it is empty