/*
 * Copyright ElasticFlow B.V. and/or licensed to ElasticFlow B.V. under one
 * or more contributor license agreements. Licensed under the ElasticFlow License
 * 2.0 and the Server Side Public License, v 1; you may not use this file except
 * in compliance with, at your election, the ElasticFlow License 2.0 or the Server
 * Side Public License, v 1.
 */
package org.elasticflow.task;

/**
 * Running Task Page interface
 * Support multi-threading after automatic task splitting
 * @author chengwen
 * @version 1.0
 * @date 2018-11-13 10:54 
 */
public interface TaskThread extends Runnable{
	
	/**task id **/
	public String getId();
	
	public int needThreads();
	
}
