Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 71 for isConnected (0.06 sec)

  1. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                try {
                    // Check if connection has been idle too long
                    // Note: getLastUseTime() method would need to be added to SmbTransportImpl
                    // For now, we'll use a simple disconnected check
                    if (transport.isDisconnected()) {
                        idle.add(transport);
                        log.debug("Removing idle connection: {}", transport);
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

        addEdge(N1, N2, E12);
        assertThat(network.edges()).containsExactly(E12);
      }
    
      @Test
      public void edges_noEdges() {
        assertThat(network.edges()).isEmpty();
        // Network with no edges, given disconnected nodes
        addNode(N1);
        addNode(N2);
        assertThat(network.edges()).isEmpty();
      }
    
      @Test
      public void incidentEdges_oneEdge() {
        addEdge(N1, N2, E12);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/Configuration.java

         *
         * If enabled, SmbFile instances starting with their first use will hold a reference to their tree.
         * This means that trees/sessions/connections won't be idle-disconnected even if there are no other active
         * references (currently executing code, file descriptors).
         *
         * Depending on the usage scenario, this may have some benefit as there won't be any delays for restablishing these
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

                try {
                    client.close();
                } catch (final OpenSearchException e) {
                    logger.warn("Failed to close client.", e);
                }
                logger.info("Disconnected to {}", address);
            }
            connected = false;
        }
    
        /**
         * Gets the thread pool from the underlying client.
         *
         * @return The thread pool.
         */
        @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  5. cmd/peer-rest-client.go

    				return nil
    			}
    			gridConn.Store(gc)
    			return gc
    		},
    	}
    }
    
    // Wrapper to restClient.Call to handle network errors, in case of network error the connection is marked disconnected
    // permanently. The only way to restore the connection is at the xl-sets layer by xlsets.monitorAndConnectEndpoints()
    // after verifying format.json
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  6. cmd/erasure-sets.go

    				globalLocalDrivesMu.Unlock()
    			}
    			s.erasureDisksMu.Unlock()
    		}(endpoint)
    	}
    
    	wg.Wait()
    }
    
    // monitorAndConnectEndpoints this is a monitoring loop to keep track of disconnected
    // endpoints by reconnecting them and making sure to place them into right position in
    // the set topology, this monitoring happens at a given monitoring interval.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37K bytes
    - Viewed (1)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

        }
    
        boolean matches(final Address addr, final int prt, final InetAddress laddr, final int lprt, String hostName) {
            if (this.state == 5 || this.state == 6) {
                // don't reuse disconnecting/disconnected transports
                return false;
            }
            if (hostName == null) {
                hostName = addr.getHostName();
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  8. cmd/erasure-multipart.go

    			// An in-quorum errFileNotFound means that client stream
    			// prematurely closed and we do not find any xl.meta or
    			// part.1's - in such a scenario we must return as if client
    			// disconnected. This means that erasure.Encode() CreateFile()
    			// did not do anything.
    			return pi, IncompleteBody{Bucket: bucket, Object: object}
    		}
    
    		return pi, toObjectErr(err, minioMetaMultipartBucket, partPath)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  9. cmd/storage-rest-server.go

    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    	defer rc.Close()
    
    	_, err = xioutil.Copy(w, rc)
    	if !xnet.IsNetworkOrHostDown(err, true) { // do not need to log disconnected clients
    		storageLogIf(r.Context(), err)
    	}
    }
    
    // ListDirHandler - list a directory.
    func (s *storageRESTServer) ListDirHandler(ctx context.Context, params *grid.MSS, out chan<- *ListDirResult) *grid.RemoteErr {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 45.7K bytes
    - Viewed (0)
  10. cmd/api-errors.go

    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrClientDisconnected: {
    		Code:           "ClientDisconnected",
    		Description:    "Client disconnected before response was ready",
    		HTTPStatusCode: 499, // No official code, use nginx value.
    	},
    	ErrTooManyRequests: {
    		Code:           "TooManyRequests",
    		Description:    "Please reduce your request rate",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 93K bytes
    - Viewed (1)
Back to top