@Override public void completed(int bytesTransferred,boolean canInvokeDirect){
  updatePosition(bytesTransferred);
  releaseBufferIfSubstituted();
  result.setResult(bytesTransferred);
  if (canInvokeDirect) {
    Invoker.invokeUnchecked(result);
  }
 else {
    Invoker.invoke(result);
  }
}

@ Override public void completed ( int bytesTransferred , boolean canInvokeDirect ) { updatePosition ( bytesTransferred ) ; releaseBufferIfSubstituted ( ) ; result . setResult ( bytesTransferred ) ; if ( canInvokeDirect ) { Invoker . invokeUnchecked ( result ) ; } else { Invoker . invoke ( result ) ; } }
executed when the i / o has completed
