<commit_before>package com.venky.swf.plugins.background.core;

import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.logging.Level;

import com.venky.core.log.SWFLogger;
import com.venky.core.log.TimerStatistics;
import com.venky.core.log.TimerStatistics.Timer;
import com.venky.core.util.ExceptionUtil;
import com.venky.core.util.MultiException;
import com.venky.swf.db.Database;
import com.venky.swf.db.Transaction;
import com.venky.swf.routing.Config;

public class AsyncTaskWorker extends Thread{
	private AsyncTaskManager manager ;
	public AsyncTaskWorker(AsyncTaskManager asyncTaskManager, int instanceNumber) {
		super(asyncTaskManager.getClass().getSimpleName() + ":" + instanceNumber);
		setDaemon(false);
		this.manager = asyncTaskManager;
	}
	private SWFLogger cat = Config.instance().getLogger(getClass().getName());
	private void log(Level level,String message){
		if (cat.isLoggable(level)){
			cat.log(level, "Thread :" + getName() + ":" + message);
		}
	}<commit_msg>Max priority<commit_after>package com.venky.swf.plugins.background.core;

import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.logging.Level;

import com.venky.core.log.SWFLogger;
import com.venky.core.log.TimerStatistics;
import com.venky.core.log.TimerStatistics.Timer;
import com.venky.core.util.ExceptionUtil;
import com.venky.core.util.MultiException;
import com.venky.swf.db.Database;
import com.venky.swf.db.Transaction;
import com.venky.swf.routing.Config;

public class AsyncTaskWorker extends Thread{
	private AsyncTaskManager manager ;
	public AsyncTaskWorker(AsyncTaskManager asyncTaskManager, int instanceNumber) {
		super(asyncTaskManager.getClass().getSimpleName() + ":" + instanceNumber);
		setDaemon(false);
		this.manager = asyncTaskManager;
		setPriority(Thread.MAX_PRIORITY);
	}
	private SWFLogger cat = Config.instance().getLogger(getClass().getName());
	private void log(Level level,String message){
		if (cat.isLoggable(level)){
			cat.log(level, "Thread :" + getName() + ":" + message);
		}
	}
{'fraction_non_alphanumeric': 0.12738853503184713, 'fraction_numerical': 0.0, 'mean_word_length': 5.852348993288591, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5109704', 'n_tokens_mistral': 668, 'n_tokens_neox': 661, 'n_words': 116}