enterStateNotifying(LifecycleStateEnum.terminated, record.toString());
String info = record.toString(); if(!record.isNormal()) { enterFailedState(info); } enterStateNotifying(LifecycleStateEnum.terminated, info);
    public synchronized void enterTerminatedStateNotifying(            TerminationRecord record)  {        terminationRecord = record;        enterStateNotifying(LifecycleStateEnum.terminated, record.toString());    }