code: @Override
      public void afterCompletion(int status) {
          if (status == Status.STATUS_COMMITTED)
              controller.notifyOfTaskAssignment(partitionId, taskId, expectedExecTime, binaryFlags, txTimeout);
      }
docs: Upon successful transaction commit, automatically schedules a task via the controller.
  
  @see javax.transaction.Synchronization#afterCompletion(int)