Code example for ScheduledThreadPoolExecutor

Methods: prestartAllCoreThreads

0
		this.accountName = clean(accountName);
		makePostArgs(developerSecret);
 
		firedEvents = platform.loadFiredEvents();
 
		executor = new ScheduledThreadPoolExecutor(MAX_THREADS, platform.makeWorkerThreadFactory());
		executor.prestartAllCoreThreads();		
	} 
 
	public void start() { 
		// Automatically fire run event 
		String appName = platform.getAppName();
		if(appName == null) {
			appName = "";
		} 
 
		if(config.getFireAutomaticInstallEvent()) {
			String installEventName = config.getInstallEventName();
			if(installEventName != null) {
				fireEvent(new Event(installEventName, true));
			} else {