helper wrapper to call the provided lifecycle on unhandled error . concode_field_sep AtomicLong UNCAUGHT_EXCEPTIONS concode_field_sep ThreadPoolExecutor loggingExecutor concode_elem_sep void evaluateResult concode_elem_sep ScheduledThreadPoolExecutor loggingScheduledExecutor concode_elem_sep ScheduledThreadPoolExecutor singleThreadLoggingScheduledExecutor
Runnable function ( Lifecycle arg0 , Logger arg1 , String arg2 , Runnable arg3 ) { requireNonNull ( arg0 ) ; requireNonNull ( arg1 ) ; requireNonNull ( arg2 ) ; requireNonNull ( arg3 ) ; return ( ) -> { try { arg3 . run ( ) ; } catch ( Throwable loc0 ) { arg1 . error ( arg2 , loc0 ) ; arg0 . shutdown ( ) ; } } ; }