public void setShortRunningThreadPool ( BlockingExecutor executor ) { if ( trace ) log . trace ( "short running executor:" + ( executor != null ? executor . getClass ( ) : "null" ) ) ; if ( executor != null ) { if ( executor instanceof StatisticsExecutor ) { this . shortRunningExecutor = ( StatisticsExecutor ) executor ; } else { this . shortRunningExecutor = new StatisticsExecutorImpl ( executor ) ; } } }
Set the executor for short running tasks