Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 178 for reconnection (1.46 sec)

  1. src/main/java/org/codelibs/core/net/URLUtil.java

         * @return A {@link URLConnection} object to the URL.
         */
        public static URLConnection openConnection(final URL url) {
            assertArgumentNotNull("url", url);
    
            try {
                final URLConnection connection = url.openConnection();
                connection.setUseCaches(false);
                return connection;
            } catch (final IOException e) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.net.protocol.gcs;
    
    import java.io.IOException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicInteger;
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

         * @return active tree handle
         * @throws CIFSException if connection fails
         *
         */
        synchronized SmbTreeHandleImpl ensureTreeConnected() throws CIFSException {
            // Optimization: Check connection validity more efficiently
            if (this.treeHandle != null && this.treeHandle.isConnected()) {
                // Connection is still valid - reuse it
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeConnection.java

            }
        }
    
        /**
         * Use a exclusive connection for this tree
         *
         * If an exclusive connection is used the caller must make sure that the tree handle is kept alive,
         * otherwise the connection will be disconnected once the usage drops to zero.
         *
         * @param np
         *            whether to use an exclusive connection
         */
        void setNonPooled(final boolean np) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  5. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.net.protocol.storage;
    
    import java.io.IOException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicInteger;
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/transport/Transport.java

         */
        protected abstract void doConnect() throws Exception;
    
        /* Tear down a connection. If the hard parameter is true, the diconnection
         * procedure should not initiate or wait for any outstanding requests on
         * this transport.
         */
    
        /**
         * Tears down the connection to the remote endpoint.
         *
         * @param hard if true, disconnect immediately without waiting for outstanding requests
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/HandlerTest.java

    import java.io.IOException;
    import java.net.URL;
    import java.net.URLConnection;
    
    import org.junit.jupiter.api.BeforeAll;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for {@link Handler}.
     *
     * Tests the SMB URL handler implementation including:
     * - Default port configuration
     * - URL connection opening
     * - URL creation and parsing
     */
    public class HandlerTest {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. docs/smb3-features/05-rdma-smb-direct-design.md

    public class RdmaErrorHandler {
        public void handleRdmaError(RdmaConnection connection, Exception error) {
            log.warn("RDMA error occurred: {}", error.getMessage());
            
            if (isRecoverableError(error)) {
                // Attempt to recover connection
                try {
                    connection.reset();
                    log.info("RDMA connection recovered");
                } catch (Exception e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/HandlerTest.java

            URL url = new URL(null, "smb://example-host/share/", new Handler());
    
            // Act
            URLConnection conn = handler.openConnection(url);
    
            // Assert
            assertNotNull(conn);
            assertTrue(conn instanceof SmbFile, "Connection should be an instance of SmbFile");
            SmbFile file = (SmbFile) conn;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/transport/Transport.java

        protected abstract void doConnect() throws Exception;
    
        /*
         * Tear down a connection. If the hard parameter is true, the diconnection
         * procedure should not initiate or wait for any outstanding requests on
         * this transport.
         */
    
        /**
         * Disconnect the transport connection
         *
         * @param hard if true, force immediate disconnection without waiting for pending requests
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
Back to top