Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 153 for currentTimeMillis (0.11 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java

                urlQueue.setSessionId(sessionId);
                urlQueue.setMethod(Constants.GET_METHOD);
                urlQueue.setUrl(url);
                urlQueue.setDepth(0);
                urlQueue.setCreateTime(SystemUtil.currentTimeMillis());
                urlQueueList.add(urlQueue);
            }
        }
    
        /*
         * (non-Javadoc)
         *
         * @see
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbException.java

            super(message);
            this.errorCode = errorCode;
            this.severity = severity;
            this.category = category;
            this.context = new HashMap<>();
            this.timestamp = System.currentTimeMillis();
        }
    
        /**
         * Creates an SMB exception with cause
         *
         * @param message the error message
         * @param errorCode the SMB error code
         * @param severity the error severity
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

        private long authenticationTTL = 3600000L; // 1 hour default
        /** Timestamp when the authentication was created */
        private long authenticationTimestamp = System.currentTimeMillis();
        /** Flag to track if this authenticator has been closed */
        private volatile boolean closed = false;
    
        /**
         * Construct anonymous credentials
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

            private final AtomicLong executeTime = new AtomicLong(0);
            private final AtomicBoolean committed = new AtomicBoolean(false);
            private final long startTime = System.currentTimeMillis();
    
            @Override
            public void store(DataStoreParams paramMap, Map<String, Object> dataMap) {
                documentCount.incrementAndGet();
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/net/UuidUtil.java

         * @return the UUID string
         */
        public static String create() {
            final StringBuilder buf = new StringBuilder(BASE.length() * 2);
            buf.append(BASE);
            final int lowTime = (int) (System.currentTimeMillis() >> 32);
            StringUtil.appendHex(buf, lowTime);
            StringUtil.appendHex(buf, RANDOM.nextInt());
            return buf.toString();
        }
    
        private static byte[] getAddress() {
            try {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

        init {
          ecdsa256()
        }
    
        /**
         * Sets the certificate to be valid in ```[notBefore..notAfter]```. Both endpoints are specified
         * in the format of [System.currentTimeMillis]. Specify -1L for both values to use the default
         * interval, 24 hours starting when the certificate is created.
         */
        fun validityInterval(
          notBefore: Long,
          notAfter: Long,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DfsImpl.java

        private static class CacheEntry<T> {
    
            long expiration;
            Map<String, T> map;
    
            CacheEntry(final long ttl) {
                this.expiration = System.currentTimeMillis() + ttl * 1000L;
                this.map = new ConcurrentHashMap<>();
            }
        }
    
        private static class NegativeCacheEntry<T> extends CacheEntry<T> {
    
            /**
             * @param ttl
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

        }
    
        @Test
        @DisplayName("Test Response interface methods - getExpiration")
        void testGetExpiration() {
            // Given
            Long expectedExpiration = System.currentTimeMillis() + 30000L;
            when(response.getExpiration()).thenReturn(expectedExpiration);
    
            // When
            Long actualExpiration = response.getExpiration();
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

             */
            @Override
            public ResponseData execute(final RequestData request) {
                final long now = SystemUtil.currentTimeMillis();
                if (now - previousTime < interval) {
                    throw new IllegalStateException();
                }
                previousTime = now;
    
                count++;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

        }
    
        public void test_execution_time_tracking() {
            // Test execution time tracking
            IndexUpdateCallback callback = new IndexUpdateCallback() {
                private long startTime = System.currentTimeMillis();
                private long totalTime = 0;
    
                @Override
                public void store(DataStoreParams paramMap, Map<String, Object> dataMap) {
                    try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top