@ SneakyThrows @ SuppressWarnings ( "FutureReturnValueIgnored" ) public void init ( ) { if ( ! validateConfiguration ( ) ) { return ; } val results = this . fetcher . fetch ( getResources ( ) ) ; ResourceCRLRevocationChecker . this . addCrls ( results ) ; final Runnable scheduledFetcher = ( ) -> { try { val fetchedResults = getFetcher ( ) . fetch ( getResources ( ) ) ; ResourceCRLRevocationChecker . this . addCrls ( fetchedResults ) ; } catch ( final Exception e ) { LOGGER . debug ( e . getMessage ( ) , e ) ; } } ; this . scheduler . scheduleAtFixedRate ( scheduledFetcher , this . refreshInterval , this . refreshInterval , TimeUnit . SECONDS ) ; }
Initializes the process that periodically fetches CRL data .