receiver.jobCompleted(createTestJobResult(job.getSpecification(), 0L, instance.toString()));
synchronized (instance) {
_busy = false;
if (_callback != null) {
s_logger.debug("re-registering invoker {} with dispatcher", getInvokerId ());
final JobInvokerRegister callback = _callback;
_callback = null;
callback.registerJobInvoker(instance);
} else {
s_logger.debug("invoker {} completed job without notify", getInvokerId ());
}
}
}