    001package com.hammurapi.common.concurrent.transactions;
    002
    003import com.hammurapi.common.concurrent.PropertySet;
    004
    005/**
    006 * Command for concurrent transactional execution.
    007 * @author Pavel Vlasov
    008 *
    009 * @param <V>
    010 */
    011public interface Command<KP, V> {
    012
    013        V execute(ExecutionContext<KP> context, PropertySet<KP> propertySet, Object... args) throws Exception;
    014
    015}