Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for destroy (0.05 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            private final int id;
            private boolean destroyed = false;
    
            public TestComponent() {
                this.id = instanceCounter.incrementAndGet();
            }
    
            public int getId() {
                return id;
            }
    
            public boolean isDestroyed() {
                return destroyed;
            }
    
            public void destroy() {
                this.destroyed = true;
            }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 13:07:01 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

        }
    
        /**
         * Internal method to destroy a specific JobProcess.
         * Handles cleanup of streams, threads, and process termination.
         *
         * @param sessionId unique identifier for the process session
         * @param jobProcess the JobProcess to destroy
         * @return exit code of the destroyed process, or -1 if the process was null or could not be destroyed
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 06:54:47 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java

        public PooledObject<T> wrap(final T obj) {
            return new DefaultPooledObject<>(obj);
        }
    
        /**
         * Destroys a pooled object and notifies the destroy listener if set.
         * If the object implements {@link AutoCloseable}, it will be closed automatically.
         *
         * @param p The pooled object to destroy
         * @throws Exception if destruction fails
         */
        @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            if (commandDestroyTimeoutStr != null) {
                commandDestroyTimeout = Long.parseLong(commandDestroyTimeoutStr);
            }
        }
    
        /**
         * Destroys the command generator and cleanup resources.
         */
        @Override
        public void destroy() {
            destoryTimer.cancel();
            destoryTimer = null;
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 04 08:02:36 UTC 2025
    - 16K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

         */
        @Test
        public void testConnectedFlag() {
            assertFalse("Initially not connected", fesenClient.connected());
    
            // After destroy, should be disconnected
            fesenClient.destroy();
            assertFalse("Should be disconnected after destroy", fesenClient.connected());
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                    } catch (final Exception e) {
                        // ignore
                    }
                }
                if (currentProcess != null) {
                    try {
                        currentProcess.destroy();
                    } catch (final Exception e) {
                        // ignore
                    }
                }
                currentProcess = null;
    
            }
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

                    }
                }
            }
    
            httpClient = closeableHttpClient;
        }
    
        /**
         * Destroys the HTTP client.
         */
        @PreDestroy
        public void destroy() {
            if (httpClient != null) {
                try {
                    httpClient.close();
                } catch (final IOException e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

                        mt.interrupt();
                    } catch (final Exception e) {}
                }
                if (currentProcess != null) {
                    try {
                        currentProcess.destroy();
                    } catch (final Exception e) {}
                }
                currentProcess = null;
    
            }
        }
    
        /**
         * @param command2
         * @param params
         * @return
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

        }
    
        private static void destroyContainer() {
            TimeoutManager.getInstance().stop();
            synchronized (SingletonLaContainerFactory.class) {
                SingletonLaContainerFactory.destroy();
            }
        }
    
        private static int process(final Options options) {
            final DynamicProperties systemProperties = ComponentUtil.getSystemProperties();
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

                logger.debug(officeManager.getClass().getSimpleName() + " is started.");
            }
        }
    
        /**
         * Destroys the extractor by stopping the office manager.
         *
         * @throws CrawlerSystemException if the office manager fails to stop
         */
        @PreDestroy
        public void destroy() {
            try {
                officeManager.stop();
            } catch (final OfficeException e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top