package com.hammurapi.common.concurrent.transactions;

public interface ProgressMonitor {

	/**
	 * Reports execution progress.
	 * @param completed Number of completed steps/tasks.
	 * @param active Number of active steps/tasks.
	 * @param pending Number of pending steps/tasks, -1 if not known.
	 * @param message Status message.
	 */
	void onProgress(int completed, int active, int pending, String message);
}
