Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for getTtl (0.85 sec)

  1. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                assertEquals(0, referralData.getFlags());
            }
    
            @Test
            @DisplayName("Should get TTL")
            void testGetTtl() {
                assertEquals(0, referralData.getTtl());
            }
    
            @Test
            @DisplayName("Should get resolveHashes")
            void testIsResolveHashes() {
                assertFalse(referralData.isResolveHashes());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dfs/ReferralTest.java

            assertEquals(100, referral.getSize());
            assertEquals(1, referral.getServerType());
            assertEquals(0, referral.getRFlags());
            assertEquals(5, referral.getProximity());
            assertEquals(300, referral.getTtl());
            assertEquals(path, referral.getRpath());
            assertEquals(altPath, referral.getAltPath());
            assertEquals(node, referral.getNode());
            assertNull(referral.getSpecialName());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dfs/Referral.java

            return this.altPath;
        }
    
        /**
         * Gets the time-to-live value for this referral in seconds.
         *
         * @return the ttl
         */
        public final int getTtl() {
            return this.ttl;
        }
    
        /**
         * Gets the referral path.
         *
         * @return the rpath
         */
        public final String getRpath() {
            return this.rpath;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

                    + (this.expiration - System.currentTimeMillis()) + "]";
        }
    
        /**
         * Get the time to live for this referral
         *
         * @return the ttl
         */
        public long getTtl() {
            return this.ttl;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#hashCode()
         */
        @Override
        public int hashCode() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

                        }
                    }
                    if (logger.isDebugEnabled()) {
                        logger.debug("smbUrl:{} roleType:{}", responseData.getUrl(), roleTypeList);
                    }
                } else if (responseData.getUrl().startsWith("smb1:")) {
                    final jcifs.smb1.smb1.SID[] allowedSids =
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

            /**
             * @return URL
             */
            public URL getURL() {
                return url_;
            }
    
            /**
             * @param url
             */
            public void setURL(final URL url) {
                url_ = url;
            }
    
            /**
             * @return Returns the cal.
             */
            public Calendar getCal() {
                return cal;
            }
    
            /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

        void testConstructor_NonWorkgroupType_ThrowsException() throws Exception {
            // Given: A non-workgroup type with a host
            when(locator.getType()).thenReturn(SmbConstants.TYPE_SERVER);
            when(locator.getURL()).thenReturn(createSmbURL("smb://server/"));
    
            // When & Then: Constructor should throw SmbException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/SQLRuntimeException.java

            super("ECL0072", asArray(getSql(cause), getRealMessage(cause), Integer.toString(cause.getErrorCode()), cause.getSQLState()), cause);
        }
    
        /**
         * Returns the <code>SQL</code>.
         *
         * @param cause the underlying exception
         * @return the <code>SQL</code>
         */
        protected static String getSql(final SQLException cause) {
            if (cause instanceof ClSQLException) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java

            // Test that multiple calls to getUrl() return the same value
            String url = "http://example.com/test";
            String message = "Test message";
            Exception cause = new RuntimeException("Test cause");
    
            DataStoreCrawlingException exception = new DataStoreCrawlingException(url, message, cause);
    
            // Call getUrl() multiple times
            assertEquals(url, exception.getUrl());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            if (handshakeComplete) {
                return;
            }
            doHandshake();
            handshakeComplete = true;
        }
    
        @Override
        public URL getURL() {
            return connection.getURL();
        }
    
        @Override
        public int getContentLength() {
            try {
                handshake();
            } catch (final IOException ex) {}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top