Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for shutdown (0.19 sec)

  1. src/main/java/org/codelibs/fess/job/JobExecutor.java

        public abstract Object execute(String scriptType, String script);
    
        public void shutdown() {
            shutdownListener.onShutdown();
        }
    
        public void addShutdownListener(final ShutdownListener listener) {
            shutdownListener = listener;
        }
    
        public interface ShutdownListener {
            void onShutdown();
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                while (count != 0) {
                    count = ComponentUtil.getThumbnailManager().generate(executorService, options.cleanup);
                    totalCount += count;
                }
                executorService.shutdown();
                executorService.awaitTermination(60, TimeUnit.SECONDS);
            } catch (final InterruptedException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Interrupted.", e);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/FessBoot.java

                }
            }).useTldDetect(jarName -> (jarName.contains("jstl") || jarName.contains("lasta-taglib"))).asDevelopment(isNoneEnv()).bootAwait();
        }
    
        public static void shutdown(final String[] args) {
            System.exit(0);
        }
    
        private static boolean isNoneEnv() {
            return System.getProperty("lasta.env") == null;
        }
    
        protected static int getPort() {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. src/packaging/common/systemd/fess.service

    # Set to "infinity" if you use the 'bootstrap.mlockall: true' option
    # in fess.yml and 'MAX_LOCKED_MEMORY=unlimited' in ${packaging.env.file}
    #LimitMEMLOCK=infinity
    
    # Shutdown delay in seconds, before process is tried to be killed with KILL (if configured)
    TimeoutStopSec=20
    
    [Install]
    WantedBy=multi-user.target
    
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

                return result;
            } catch (final Exception e) {
                throw new SsoLoginException("Failed to get a token.", e);
            } finally {
                if (service != null) {
                    service.shutdown();
                }
            }
        }
    
        protected AuthenticationResult getAccessToken(final AuthorizationCode authorizationCode, final String currentUri) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHook.java

                method.invoke(null, (Object[]) null);
            } catch (final ClassNotFoundException e) {
                // ignore
            } catch (final Exception e) {
                logger.warn("Could not shutdown Commons HttpClient.", e);
            }
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

        }
    
        @Override
        public void commit() {
            try {
                if (logger.isDebugEnabled()) {
                    logger.debug("Shutting down thread executor.");
                }
                executor.shutdown();
                executor.awaitTermination(executorTerminationTimeout, TimeUnit.SECONDS);
            } catch (final InterruptedException e) {
                if (logger.isDebugEnabled()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

            }
        }
    
        @Override
        @PreDestroy
        public void close() throws Exception {
            if (executorService != null) {
                try {
                    executorService.shutdown();
                    executorService.awaitTermination(60, TimeUnit.SECONDS);
                } catch (final InterruptedException e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Interrupted.", e);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                pool.execute(() -> {
                    assertEquals(result, crawlingInfoHelper.generateId(dataMap));
                    counter.incrementAndGet();
                });
            }
            pool.shutdown();
            pool.awaitTermination(10, TimeUnit.SECONDS);
            assertEquals(1000, counter.get());
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        public void destroy() {
            shutdownHookList.forEach(action -> {
                try {
                    action.run();
                } catch (final Exception e) {
                    logger.warn("Failed to process shutdown task.", e);
                }
            });
        }
    
        public String getUsername() {
            final RequestManager requestManager = ComponentUtil.getRequestManager();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Apr 13 11:43:03 GMT 2024
    - 26.5K bytes
    - Viewed (2)
Back to top