- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 63 for AutoCloseable (2.23 sec)
-
src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java
* This class represents an open handle to a SAM alias and provides * operations for managing alias membership and properties. */ public class SamrAliasHandle extends rpc.policy_handle implements AutoCloseable { private final DcerpcHandle handle; private boolean opened; /** * Creates a new SAM alias handle. * * @param handle the DCE/RPC handle for communicationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/FileEntryAdapterIterator.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.4K bytes - Viewed (0) -
CLAUDE.md
- `AtomicLong` for counters (`CrawlerContext.accessCount`) - `volatile` for status flags - Synchronized blocks for critical sections - Thread-local storage via `CrawlingParameterUtil` **Resource Management**: - `AutoCloseable` throughout - `DeferredFileOutputStream` for large responses (temp files for >1MB) - Connection pooling with limits - Background temp file deletion via `FileUtil.deleteInBackground()` **Fault Tolerance**:
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 28 17:31:34 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/EmptyIteratorTest.java
assertTrue(emptyIterator instanceof Iterator, "Should implement Iterator"); assertTrue(emptyIterator instanceof AutoCloseable, "Should implement AutoCloseable"); } @Test @DisplayName("hasNext should always return false") void testHasNextAlwaysReturnsFalse() { // When & Then
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaMemoryRegion.java
* RDMA operations. The memory region contains a buffer, access * permissions, and keys for local and remote access. */ public abstract class RdmaMemoryRegion implements AutoCloseable { /** Memory buffer for RDMA operations */ protected final ByteBuffer buffer; /** Access permissions for this memory region */ protected final EnumSet<RdmaAccess> accessFlags;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/SamrPolicyHandle.java
* This class represents an open handle to a SAM server and provides * high-level access to SAM database operations. */ public class SamrPolicyHandle extends rpc.policy_handle implements AutoCloseable { private final DcerpcHandle handle; private boolean opened; /** * Creates a new SAM policy handle. * * @param handle the DCE/RPC handle for communicationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SimpleMemoryManagementTest.java
session.acquire(); // Should handle exceptions gracefully assertDoesNotThrow(() -> session.release()); } /** * Test AutoCloseable pattern */ @Test @Timeout(5) public void testAutoCloseablePattern() throws Exception { SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/storage/StorageClient.java
import java.util.Map; /** * Interface for cloud storage operations. * Implementations provide access to S3-compatible storage, GCS, or other cloud storage systems. */ public interface StorageClient extends AutoCloseable { /** * Uploads an object to storage. * * @param objectName the name/path for the object * @param inputStream the input stream of data to uploadRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/SmbRandomAccess.java
import jcifs.smb.SmbException; /** * File access that exposes random access semantics * * @author mbechler * */ public interface SmbRandomAccess extends DataOutput, DataInput, AutoCloseable { /** * Close the file * * @throws SmbException if an I/O error occurs during close */ @Override void close() throws SmbException; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
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)