Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for destroy (0.04 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/jcifs/util/SecureCredentialStorage.java

        }
    
        /**
         * Check if storage has been destroyed
         */
        private void checkNotDestroyed() {
            if (destroyed) {
                throw new IllegalStateException("SecureCredentialStorage has been destroyed");
            }
        }
    
        @Override
        public void destroy() throws DestroyFailedException {
            if (!destroyed) {
                boolean failedToDestroy = false;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/filter/WebApiFilter.java

         */
        @Override
        public void init(final FilterConfig filterConfig) throws ServletException {
            // nothing
        }
    
        /**
         * Destroys the web API filter and cleans up resources.
         */
        @Override
        public void destroy() {
            // nothing
        }
    
        /**
         * Filters HTTP requests and processes them through appropriate web API managers.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. 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)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java

            protected T instance;
    
            /**
             * The destroyer function to be called when the component is destroyed.
             */
            protected Consumer<T> destroyer;
    
            /**
             * Creates a new ComponentHolder with the specified instance and destroyer.
             * @param instance the component instance to hold
             * @param destroyer the destroyer function for cleanup (can be null)
             */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. fess-crawler-lasta/src/main/java/org/codelibs/fess/crawler/container/LastaCrawlerContainer.java

        }
    
        @Override
        public boolean available() {
            return SingletonLaContainerFactory.hasContainer();
        }
    
        @Override
        public void destroy() {
            SingletonLaContainerFactory.destroy();
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/CrawlerContainer.java

         */
        boolean available();
    
        /**
         * Cleans up resources and performs any necessary finalization tasks
         * before the object is destroyed. This method should be called to
         * ensure that all resources are properly released.
         */
        void destroy();
    
        /**
         * Initializes the CrawlerContainer by setting the system property
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/main/java/org/codelibs/fess/thumbnail/impl/EmptyGenerator.java

        public boolean generate(final String thumbnailId, final File outputFile) {
            return false;
        }
    
        /**
         * Destroys this generator and releases any resources.
         * This implementation does nothing as no resources are held.
         */
        @Override
        public void destroy() {
            // nothing
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top