001package com.hammurapi.common.concurrent; 002 003/** 004 * Invo 005 * @author Pavel Vlasov. 006 * 007 * @param <R> Invocable return type. 008 */ 009public interface Invoker<C, R, K, E extends Exception> { 010 011 /** 012 * Wires invoker to invocable. 013 * @param invocable 014 */ 015 void setInvocable(Invocable<C, R, K, E> invocable); 016}