- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 82 for AutoCloseable (0.09 sec)
-
src/main/java/jcifs/smb/SmbTreeConnection.java
/** * Close the tree connection (implements AutoCloseable) * * This method provides a standard way to close resources using try-with-resources. * It delegates to the release() method to properly clean up the connection. */ @Override public void close() { if (log.isDebugEnabled()) { log.debug("Closing SmbTreeConnection via AutoCloseable.close()"); } release();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java
* including adding URLs to the queue, filtering URLs, managing crawler threads, * and handling the overall crawling lifecycle. * * <p>It implements the Runnable interface to be executed in a separate thread, * and the AutoCloseable interface to ensure resources are properly released after use. * * <p>The crawler uses several services and components, such as UrlQueueService, DataService,
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 17K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java
* * Manages pools of pre-registered memory regions to avoid the overhead * of frequent registration/deregistration during RDMA operations. */ public class RdmaBufferManager implements AutoCloseable { private static final Logger log = LoggerFactory.getLogger(RdmaBufferManager.class); private final RdmaProvider provider; private final ConcurrentLinkedQueue<RdmaMemoryRegion> availableSendRegions;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
GcFinalization.awaitDone(finalizeReferentRan::get); assertThat(serverSocket.isClosed()).isTrue(); } @SuppressWarnings("Java8ApiChecker") static class MyServerExampleWithCleaner implements AutoCloseable { private static final Cleaner cleaner = Cleaner.create(); private static Runnable closeServerSocketRunnable( ServerSocket serverSocket, AtomicBoolean cleanerRan) { return () -> {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
assertNull(smbPipeHandle.unwrap(SmbPipeHandle.class), "Unwrap should return null for an unsupported type."); } } /** * Tests the contract for {@link AutoCloseable}. */ @Nested public class AutoCloseableContractTest { /** * Verifies that the handle is automatically closed in a try-with-resources statement.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
README.md
- **Authentication**: NTLM, Kerberos, SPNEGO unified subsystem - **SLF4J Logging**: Comprehensive logging throughout the codebase - **Resource Management**: AutoCloseable patterns for file handles and connections - **Thread Safety**: Components support concurrent access - **DFS Support**: Distributed File System resolution - **Streaming Operations**: Efficient directory listings and file operations
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 09:24:52 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java
* Manages connection state, credit flow control, and provides * abstract methods for RDMA operations that must be implemented * by specific provider implementations. */ public abstract class RdmaConnection implements AutoCloseable { /** * RDMA connection state enumeration */ public enum RdmaConnectionState { /** Connection is not established */ DISCONNECTED,Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
// Configure with shorter intervals for testing resourceManager.configure(1000, 100, true, true); } /** * Test resource for tracking */ static class TestResource implements AutoCloseable { private final AtomicBoolean closed = new AtomicBoolean(false); private final String name; TestResource(String name) { this.name = name; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeTest.java
assertThrows(RuntimeException.class, () -> smbTree.close(), "Should propagate exception when close fails"); } /** * Test for AutoCloseable functionality. * Verifies that SmbTree can be used in try-with-resources. */ @Test void testAutoCloseable() { SmbTree autoCloseTree = mock(SmbTree.class);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0)