Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for connect0 (0.04 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            try {
                conn.connect();
                fail("Should throw IOException when project ID is not set");
            } catch (IOException e) {
                assertTrue(e.getMessage().contains("GCS_PROJECT_ID is blank"));
            }
        }
    
        /**
         * Test thread-safety of connect() method.
         * Multiple threads should be able to call connect() concurrently without issues.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

             *
             * @throws IOException If the connection cannot be established
             */
            @Override
            public synchronized void connect() throws IOException {
                if (connected) {
                    return;
                }
                final String endpoint = System.getenv().get("STORAGE_ENDPOINT");
                final String accessKey = System.getenv().get("STORAGE_ACCESS_KEY");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:52:56 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

        /**
         * Checks if the client is connected to OpenSearch.
         *
         * @return true if connected, false otherwise.
         */
        public boolean connected() {
            return connected;
        }
    
        /**
         * Connects to the OpenSearch cluster.
         * Creates a new client and waits for cluster health to be yellow or better.
         */
        public void connect() {
            destroy();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 02:01:26 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

            return sb.toString();
        }
    
        /**
         * Checks if the client is connected to the witness service.
         *
         * @return true if connected
         */
        public boolean isConnected() {
            return connected && rpcHandle != null;
        }
    
        @Override
        public void close() {
            if (connected && rpcHandle != null) {
                try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/transport/Transport.java

                if (n <= 0) {
                    break;
                }
                i += n;
            }
    
            return i;
        }
    
        /* state values
         * 0 - not connected
         * 1 - connecting
         * 2 - run connected
         * 3 - connected
         * 4 - error
         */
        int state = 0;
    
        String name = "Transport" + id++;
        Thread thread;
        TransportException te;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

                            return null;
                        }
                        // failure to connect
                        throw new SmbException("Tree disconnected while waiting for connection");
                    }
                    if (before == 2) {
                        // concurrently connected
                        return null;
                    }
    
                    if (log.isDebugEnabled()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

                }
                ThreadUtil.sleep(200L);
            }
            if (!connected) {
                throw new IllegalStateException("Could not connect to the Samba server");
            }
        }
    
        @Override
        protected void tearDown() throws Exception {
            if (sambaServer != null) {
                sambaServer.stop();
            }
            super.tearDown();
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Sep 23 06:42:59 UTC 2025
    - 31.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            this.connection = connection;
            requestProperties = new HashMap();
        }
    
        @Override
        public void connect() throws IOException {
            if (connected) {
                return;
            }
            connection.connect();
            connected = true;
        }
    
        private void handshake() throws IOException {
            if (handshakeComplete) {
                return;
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

            try {
                conn.connect();
                fail("Should throw IOException when endpoint is not set");
            } catch (IOException e) {
                assertTrue(e.getMessage().contains("endpoint is blank"));
            }
        }
    
        /**
         * Test thread-safety of connect() method.
         * Multiple threads should be able to call connect() concurrently without issues.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeConnection.java

        public SmbTreeHandleImpl connectWrapException(final SmbResourceLocatorImpl loc) throws SmbException {
            try {
                return connect(loc);
            } catch (final SmbException se) {
                throw se;
            } catch (final IOException ioe) {
                throw new SmbException("Failed to connect to server", ioe);
            }
        }
    
        /**
         * @param loc
         * @return tree handle
         * @throws IOException
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
Back to top