@ Override public Object eval ( ) { logger . info ( "Checking sla for execution " + this . execId ) ; final ExecutableFlow flow ; try { flow = this . executorLoader . fetchExecutableFlow ( this . execId ) ; } catch ( final ExecutorManagerException e ) { logger . error ( "Can't get executable flow." , e ) ; e . printStackTrace ( ) ; // something wrong, send out alerts return true ; } return isSlaMissed ( flow ) ; }
return true to trigger sla action