Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 172 for opened (0.49 sec)

  1. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

                // Expected
            }
    
            assertEquals(SimpleCircuitBreaker.State.OPEN, circuitBreaker.getState());
        }
    
        @Test
        @DisplayName("Test reset functionality")
        void testReset() {
            // Open the circuit
            circuitBreaker.tripBreaker();
            assertEquals(SimpleCircuitBreaker.State.OPEN, circuitBreaker.getState());
    
            // Reset
            circuitBreaker.reset();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileOutputStream.java

        }
    
        /**
         * Tests whether the output stream is currently open.
         *
         * @return whether the stream is open
         */
        public boolean isOpen() {
            return this.handle != null && this.handle.isValid();
        }
    
        /**
         * Ensures that the file handle is open and returns it.
         *
         * @return the open file handle
         * @throws CIFSException if an error occurs opening the file
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            // Act + Assert (no exception expected)
            assertDoesNotThrow(() -> SmbCopyUtil.copyFile(src, dest, buffers, 1, new WriterThread(), sh, dh));
    
            // Verify that server-side path engaged at least the initial opens
            verify(src, times(1)).openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt());
            verify(dest, times(1)).openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt());
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                return this.handle;
            }
            return this.handle.acquire();
        }
    
        /**
         * Ensures that the file descriptor is openend
         *
         * @throws CIFSException if an error occurs opening the file
         */
        public void open() throws CIFSException {
            try (SmbFileHandleImpl fh = ensureOpen()) {}
        }
    
        @Override
        public synchronized void close() throws SmbException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/SmbCircuitBreaker.java

                if (currentState == State.OPEN && shouldAttemptReset()) {
                    log.debug("[{}] Attempting to reset circuit breaker from OPEN to HALF_OPEN", name);
                    transitionTo(State.HALF_OPEN);
                    currentState = State.HALF_OPEN;
                }
    
                // Block if circuit is open
                if (currentState == State.OPEN) {
                    totalRequests.incrementAndGet();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileInputStream.java

                log.debug("Negotiated file read size is " + this.readSizeFile);
            }
        }
    
        /**
         * Ensures that the file descriptor is openend
         *
         * @throws CIFSException if an error occurs while opening the file
         */
        public void open() throws CIFSException {
            try (SmbFileHandleImpl fh = ensureOpen()) {}
        }
    
        /**
         * @param file
         * @param openFlags
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

                return advance(true);
            }
            return null;
        }
    
        /**
         * Opens the enumeration and returns the first entry.
         *
         * @return the first file entry, or null if empty
         * @throws CIFSException if an error occurs during opening
         */
        protected abstract FileEntry open() throws CIFSException;
    
        /**
         * Checks if the enumeration is complete.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

        }
    
        @Test
        public void testCircuitResetsAfterTimeout() throws Exception {
            // Open the circuit
            circuitBreaker.trip();
            assertEquals(State.OPEN, circuitBreaker.getState(), "Circuit should be OPEN");
    
            // Wait for reset timeout
            Thread.sleep(1100);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/Kerb5Context.java

            } catch (ClassNotFoundException | NoSuchMethodException | RuntimeException ex) {
                if (log.isDebugEnabled()) {
                    log.debug("Failed to initalize ExtendedGSSContext initializdation for OracleJDK / OpenJDK", ex);
                }
            }
    
            if (extendedGSSContextClassPrep == null || inquireSecContextPrep == null || inquireTypeSessionKeyPrep == null) {
                try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
  10. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

        }
    
        /**
         * Get link speed in Mbps
         *
         * @return link speed
         */
        public int getLinkSpeed() {
            return linkSpeed;
        }
    
        /**
         * Set link speed in Mbps
         *
         * @param linkSpeed link speed
         */
        public void setLinkSpeed(int linkSpeed) {
            this.linkSpeed = linkSpeed;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top