Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CountDownLatch (0.3 sec)

  1. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

            suggestHelper.storeAllElevateWords(true);
    
            final AtomicInteger exitCode = new AtomicInteger(0);
    
            if (ComponentUtil.getFessConfig().isSuggestDocuments()) {
                final CountDownLatch latch = new CountDownLatch(1);
    
                logger.info("Parsing words from indexed documents.");
                suggestHelper.indexFromDocuments(ret -> {
                    logger.info("Success indexing from documents.");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

                    ist.interrupt();
                } catch (final Exception e) {
                    logger.warn("Could not interrupt a thread of an input stream.", e);
                }
    
                final CountDownLatch latch = new CountDownLatch(3);
                final Process process = jobProcess.getProcess();
                new Thread(() -> {
                    try {
                        CloseableUtil.closeQuietly(process.getInputStream());
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top