Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for destroyObject (0.09 sec)

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

        }
    
        /**
         * Test destroyObject without listener
         */
        public void test_destroyObject_noListener() throws Exception {
            TestComponent component = new TestComponent();
            PooledObject<TestComponent> pooledObject = new DefaultPooledObject<>(component);
    
            // Should not throw exception even without listener
            factory.destroyObject(pooledObject);
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java

        /**
         * Destroys a pooled object and notifies the destroy listener if set.
         * @param p The pooled object to destroy
         * @throws Exception if destruction fails
         */
        @Override
        public void destroyObject(final PooledObject<T> p) throws Exception {
            if (onDestroyListener != null) {
                onDestroyListener.onDestroy(p);
            }
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top