Update: onStart和onShutdown改为可选参数.新增onWorkerStart和onWorkerStop回调