- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for AutoCloseable (0.17 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 6.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
public static void resetInstanceCount() { instanceCount = 0; } } /** * Closeable test component for testing AutoCloseable resource handling */ public static class CloseableTestComponent implements AutoCloseable { private static AtomicInteger instanceCounter = new AtomicInteger(0); private static AtomicInteger closeCounter = new AtomicInteger(0);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 13:07:01 UTC 2025 - 36.7K bytes - Viewed (0) -
src/main/java/jcifs/SmbTree.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs; /** * Opaque reference to a SMB tree * * @author mbechler * */ public interface SmbTree extends AutoCloseable { /** * Unwraps the tree instance to the specified type * @param <T> the target tree type * @param type the class of the tree type to unwrap to * @return tree instance with the given typeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
assertNotNull(outputStream); // Verify the AutoCloseable resources were closed verify(autoCloseableMockTreeHandle).close(); verify(autoCloseableMockFileHandle).close(); } @Test void testConstructorWithAppendFlag() throws IOException, CIFSException { // Given // Mock the AutoCloseable tree handle behavior
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClient.java
/** * Interface representing a client for a web crawler. * This client is responsible for executing requests and handling responses. * It extends {@link AutoCloseable} to allow for resource management. */ public interface CrawlerClient extends AutoCloseable { /** * Sets the initialization parameters for the crawler client. * * @param params a map containing the initialization parameters */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
final String resourceType; final WeakReference<AutoCloseable> resourceRef; final PhantomReference<AutoCloseable> phantomRef; final long creationTime; final StackTraceElement[] allocationStackTrace; volatile boolean closed; ResourceHolder(String resourceId, AutoCloseable resource, ReferenceQueue<AutoCloseable> queue) { this.resourceId = resourceId;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
src/main/java/jcifs/SmbPipeHandle.java
*/ package jcifs; import java.io.InputStream; import java.io.OutputStream; /** * Handle to an open named pipe * * @author mbechler * */ public interface SmbPipeHandle extends AutoCloseable { /** * Gets the pipe resource associated with this handle. * * @return the pipe */ SmbPipeResource getPipe(); /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/SmbSession.java
*/ package jcifs; /** * Opaque reference to a SMB session * * @author mbechler */ public interface SmbSession extends AutoCloseable { /** * {@inheritDoc} * * @see java.lang.AutoCloseable#close() */ @Override void close(); /** * Returns the configuration object used by this SMB session. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/CloseableIterator.java
package jcifs; import java.util.Iterator; /** * An iterator that implements AutoCloseable to allow resource cleanup. * This interface combines Iterator functionality with automatic resource management. * * @param <T> the type of elements returned by this iterator * @author mbechler */ public interface CloseableIterator<T> extends Iterator<T>, AutoCloseable { /** * {@inheritDoc} *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/SmbTreeHandle.java
* * @author mbechler * */ public interface SmbTreeHandle extends AutoCloseable { /** * Gets the active configuration for this tree handle * @return the active configuration */ Configuration getConfig(); /** * {@inheritDoc} * * @see java.lang.AutoCloseable#close() */ @Override void close() throws CIFSException; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0)