public boolean callProcedure ( Invocation invocation , ProcedureCallback callback ) { try { boolean result = m_importServerAdapter . callProcedure ( this , m_backPressurePredicate , callback , invocation . getProcedure ( ) , invocation . getParams ( ) ) ; reportStat ( result , invocation . getProcedure ( ) ) ; return result ; } catch ( Exception ex ) { rateLimitedLog ( Level . ERROR , ex , "%s: Error trying to import" , getName ( ) ) ; reportFailureStat ( invocation . getProcedure ( ) ) ; return false ; } }
This should be used importer implementations to execute a stored procedure .