Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for reconnected (0.05 sec)

  1. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

            this.maxRetries = maxRetries;
            this.retryDelay = retryDelay;
        }
    
        /**
         * Attempt to reconnect a handle
         * @param path the file path
         * @param cause the original exception that triggered reconnection
         * @return a future that completes with the reconnected handle info or fails
         */
        public CompletableFuture<HandleInfo> reconnectHandle(String path, Exception cause) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (1)
  2. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

        /**
         * The associated lease key if this handle has an SMB2 lease
         */
        private final Smb2LeaseKey leaseKey;
    
        /**
         * Flag indicating whether this handle is currently being reconnected
         */
        private volatile boolean reconnecting;
    
        // Not serialized - will be null after deserialization
        private transient Object file; // Reference to SmbFile (avoid circular dependencies)
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbTreeHandleTest.java

        }
    
        /**
         * Test for isConnected() method.
         * Verifies that the method returns the correct connected status.
         */
        @Test
        void testIsConnected() {
            when(smbTreeHandle.isConnected()).thenReturn(true);
            assertTrue(smbTreeHandle.isConnected(), "isConnected() should return true");
            when(smbTreeHandle.isConnected()).thenReturn(false);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbTreeHandle.java

         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        void close() throws CIFSException;
    
        /**
         * Checks whether the tree is currently connected
         * @return the tree is connected
         */
        boolean isConnected();
    
        /**
         * Gets the server timezone offset in milliseconds
         * @return server timezone offset
         * @throws CIFSException if an error occurs retrieving the timezone offset
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RangeMap.java

     * with the range (if any) that contains a specified key.
     *
     * <p>In contrast to {@link RangeSet}, no "coalescing" is done of {@linkplain
     * Range#isConnected(Range) connected} ranges, even if they are mapped to the same value.
     *
     * @author Louis Wasserman
     * @since 14.0
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/RangeMap.java

     * with the range (if any) that contains a specified key.
     *
     * <p>In contrast to {@link RangeSet}, no "coalescing" is done of {@linkplain
     * Range#isConnected(Range) connected} ranges, even if they are mapped to the same value.
     *
     * @author Louis Wasserman
     * @since 14.0
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            doReturn(true).when(trace).isConnected();
            trace.acquire(); // usageCount becomes 1
    
            // Act & Assert: checkRelease should call isConnected() and not throw
            assertDoesNotThrow(trace::checkRelease);
            verify(trace, atLeastOnce()).isConnected();
        }
    
        @Test
        @DisplayName("release() below zero usage throws RuntimeCIFSException")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTree.java

                    if (se.getNtStatus() == NtStatus.NT_STATUS_NETWORK_NAME_DELETED) {
                        /* Someone removed the share while we were
                         * connected. Bastards! Disconnect this tree
                         * so that it reconnects cleanly should the share
                         * reappear in this client's lifetime.
                         */
                        treeDisconnect(true);
                    }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java

        List<Range<C>> asRanges = ImmutableList.copyOf(rangeSet.asRanges());
    
        // test that connected ranges are coalesced
        for (int i = 0; i + 1 < asRanges.size(); i++) {
          Range<C> range1 = asRanges.get(i);
          Range<C> range2 = asRanges.get(i + 1);
          assertFalse(range1.isConnected(range2));
        }
    
        // test that there are no empty ranges
        for (Range<C> range : asRanges) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

        }
    
        /**
         * Check if connection is established and ready for use
         *
         * @return true if connection is connected/established, false otherwise
         */
        public boolean isConnected() {
            return state == RdmaConnectionState.CONNECTED || state == RdmaConnectionState.ESTABLISHED;
        }
    
        /**
         * Read data from RDMA connection
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top