Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 81 for AutoCloseable (0.09 seconds)

  1. src/main/java/jcifs/util/AuthenticationRateLimiter.java

     * - Global rate limiting
     * - Exponential backoff for repeated failures
     * - Account lockout after threshold
     * - Automatic cleanup of old entries
     */
    public class AuthenticationRateLimiter implements AutoCloseable {
    
        private static final Logger log = LoggerFactory.getLogger(AuthenticationRateLimiter.class);
    
        // Rate limiting configuration
        private final int maxAttemptsPerAccount;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

                class Bar()
    
            """
    
            checkNotBinaryCompatibleKotlin(
                v1 = baseline,
                v2 = """
    
                /** @since 1.0 */
                interface Foo : AutoCloseable {
                    fun foo()
                    override fun close()
                }
    
                /** @since 1.0 */
                class Bar() {
    
                    constructor(bar: String) : this()
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            } finally {
                concurrentLimiter.close();
            }
        }
    
        @Test
        public void testAutoCloseableInterface() throws Exception {
            // Test that rate limiter implements AutoCloseable correctly
            try (AuthenticationRateLimiter autoLimiter = new AuthenticationRateLimiter()) {
                assertTrue(autoLimiter.checkAttempt("user", "192.168.1.13"));
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                for (MavenProject forkedProject : forkedProjects) {
                    forkedProject.setExecutionProject(null);
                }
            }
        }
    
        protected interface NoExceptionCloseable extends AutoCloseable {
            @Override
            void close();
        }
    
        protected NoExceptionCloseable getProjectLock(MavenSession session, MojoDescriptor mojoDescriptor) {
            if (useProjectLock(session)) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 12 14:55:55 GMT 2025
    - 21K bytes
    - Click Count (0)
  5. docs/smb3-features/06-witness-protocol-design.md

    ```
    
    ### 4.3 Witness Client
    ```java
    package jcifs.internal.witness;
    
    import jcifs.dcerpc.*;
    import jcifs.dcerpc.rpc.*;
    import java.util.concurrent.*;
    
    public class WitnessClient implements AutoCloseable {
        private final InetAddress witnessServer;
        private final int port;
        private final CIFSContext context;
        private final ConcurrentHashMap<String, WitnessRegistration> registrations;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
  6. src/main/java/jcifs/dcerpc/DcerpcHandle.java

    /**
     * Abstract base class for DCE/RPC communication handles.
     * This class provides the foundation for DCE/RPC client communication.
     */
    public abstract class DcerpcHandle implements DcerpcConstants, AutoCloseable {
    
        /*
         * Bindings are in the form:
         * proto:\\server[key1=val1,key2=val2]
         * or
         * proto:server[key1=val1,key2=val2]
         * or
         * proto:[key1=val1,key2=val2]
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/witness/WitnessClient.java

    /**
     * SMB Witness Protocol client implementation as defined in MS-SWN specification.
     * Manages witness registrations, notifications, and heartbeats for cluster failover support.
     */
    public class WitnessClient implements AutoCloseable {
        private static final Logger log = LoggerFactory.getLogger(WitnessClient.class);
    
        // Polling and backoff constants (in ms)
        private static final long MAX_POLL_INTERVAL = 5000; // Normal polling: max 5 seconds
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/util/SecureKeyManager.java

     * - Automatic key cleanup on close
     * - Thread-safe key management
     * - Key derivation utilities
     * - Memory wiping capabilities
     */
    public class SecureKeyManager implements AutoCloseable {
    
        private static final Logger log = LoggerFactory.getLogger(SecureKeyManager.class);
    
        private final Map<String, SecretKey> sessionKeys = new ConcurrentHashMap<>();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/util/transport/Transport.java

     */
    
    /**
     * Abstract base class for network transport implementations in JCIFS.
     * This class handles the low-level transport protocol for SMB communication.
     */
    public abstract class Transport implements Runnable, AutoCloseable {
    
        /**
         * Default constructor for Transport
         */
        protected Transport() {
            // Default constructor
        }
    
        private static int id = 0;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  10. src/main/java/jcifs/SmbResource.java

     * may also refer to servers and workgroups.
     *
     * @see jcifs.smb.SmbFile for the main implementation of this interface
     * @author mbechler
     */
    public interface SmbResource extends AutoCloseable {
    
        /**
         * Gets the file locator for this file
         *
         * The file locator provides details about
         *
         * @return the fileLocator
         */
        SmbResourceLocator getLocator();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 28K bytes
    - Click Count (1)
Back to Top