@Override
        public void startSavingModelStatus(Boolean flag) {
            LOG.info("current savingModelStatus is " + startSavingModel + ", the last savingStatus is "
                    + lastSavingStatus);
            if (flag && !startSavingModel) {
                lastSavingStatus = false;
                startSavingModel = true;
            }
            if (!flag && startSavingModel) {
                startSavingModel = false;
            }
        }
Internal class for running application class
core/src/main/java/net/qihoo/hbox/AM/ApplicationMaster.java