394041424344454647
private int returnCode; private boolean exitFlag = false; public Master(MasterConfig masterConfig) { this.masterConfig = masterConfig; state = new MasterState(masterConfig); Runtime.getRuntime().addShutdownHook(new ShutDownHook("Master process")); }