Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 65 for AutoCloseable (0.06 sec)

  1. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  2. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      }
    
      public void testAutoCloseable() throws Exception {
        AutoCloseable autoCloseable = closeable1::close;
        ClosingFuture<String> closingFuture =
            ClosingFuture.submit(
                new ClosingCallable<String>() {
                  @Override
                  public String call(DeferredCloser closer) throws Exception {
                    closer.eventuallyClose(autoCloseable, closingExecutor);
                    return "foo";
                  }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
  4. 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"));
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. 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]
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. 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();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  7. src/main/java/jcifs/smb/SmbTreeImpl.java

                        this.session.acquire();
                    }
                }
            }
            return this;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        public void close() {
            release(false);
        }
    
        public void release() {
            release(true);
        }
    
        /**
         * @param track
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (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<>();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

     * It implements rank fusion techniques to combine results from different search engines
     * and provides a unified search interface.
     */
    public class RankFusionProcessor implements AutoCloseable {
    
        private static final Logger logger = LogManager.getLogger(RankFusionProcessor.class);
    
        /** Array of rank fusion searchers available for processing search requests */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

     * Handles both AES-CCM (SMB 3.0/3.0.2) and AES-GCM (SMB 3.1.1) cipher suites.
     *
     * @author mbechler
     */
    public class Smb2EncryptionContext implements AutoCloseable {
    
        private static final Logger log = LoggerFactory.getLogger(Smb2EncryptionContext.class);
    
        private final int cipherId;
        private final DialectVersion dialect;
        private byte[] encryptionKey;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
Back to top