001    package com.hammurapi.util.concurrent;
002    
003    /**
004     * Callback interface for callable execution.
005     * @author Pavel Vlasov
006     *
007     * @param <V>
008     */
009    public interface CallableListener<V> {
010            
011            void onCall(V value);
012            
013            void onException(Exception e);
014    
015    }