Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 157 for getTtl (0.06 seconds)

  1. 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;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. 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() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  3. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  4. 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());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 22K bytes
    - Click Count (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 org.codelibs.jcifs.smb1.SID[] allowedSids = (org.codelibs.jcifs.smb1.SID[]) metaDataMap
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 13 05:54:52 GMT 2025
    - 15.4K bytes
    - Click Count (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;
            }
    
            /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 11K bytes
    - Click Count (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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.8K bytes
    - Click Count (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) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        // re-order
        getAll(cache, asList(0, 1, 2));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(3, 4, 5, 6, 7, 8, 9, 0, 1, 2);
    
        // evict 3, 4, 5
        getAll(cache, asList(10));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(6, 7, 8, 9, 0, 1, 2, 10);
    
        // re-order
        getAll(cache, asList(6, 7, 8));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  10. 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());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 16.6K bytes
    - Click Count (0)
Back to Top