package com.hammurapi.common.concurrent.transactions;

import com.hammurapi.common.concurrent.PropertySet;

/**
 * Command for concurrent transactional execution.
 * @author Pavel Vlasov
 *
 * @param <V>
 */
public interface Command<KP, V> {
	
	V execute(ExecutionContext<KP> context, PropertySet<KP> propertySet, Object... args) throws Exception;

}
