class YarnIntraNonHaMasterServices extends AbstractYarnNonHaServices {

	@Override
	public void close() throws Exception {
		if (enterUnlessClosed()) {
			try {
				try {
					// this class' own cleanup logic
					resourceManagerLeaderElectionService.shutdown();
					dispatcher.shutdownNow();
				}
				finally {
					// in any case must we call the parent cleanup logic
					super.close();
				}
			}
			finally {
				exit();
			}
		}
	}

	public  YarnIntraNonHaMasterServices(
			Configuration config,
			org.apache.hadoop.conf.Configuration hadoopConf);

}