- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for destroySet (0.03 sec)
-
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: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java
* @param <T> The type of the pooled object */ public interface OnDestroyListener<T> { /** * Called when a pooled object is being destroyed. * @param p The pooled object being destroyed */ void onDestroy(PooledObject<T> p); } /** * Gets the component name. * @return The component name */Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.9K bytes - Viewed (0) -
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: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/container/CrawlerContainer.java
* @return true if the crawler container is available, false otherwise. */ 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 propertyRegistered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2.6K bytes - Viewed (0)