void afterWrite(Runnable task){
  writeBuffer.add(task);
  drainStatus.lazySet(REQUIRED);
  tryToDrainBuffers();
  notifyListener();
}

void afterWrite ( Runnable task ) { writeBuffer . add ( task ) ; drainStatus . lazySet ( REQUIRED ) ; tryToDrainBuffers ( ) ; notifyListener ( ) ; }
performs the post - processing work required after a write .
