Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 365 for _milliseconds (0.06 seconds)

  1. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            }
            return date.format(DateTimeFormatter.ofPattern(format, Locale.ROOT));
        }
    
        /**
         * Formats a duration in milliseconds to a human-readable string.
         *
         * @param durationMillis the duration in milliseconds
         * @return formatted duration string (e.g., "2 days 14:30:25.123" or "14:30:25.123")
         */
        public static String formatDuration(final long durationMillis) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  2. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            }
            this.maxPoolSize = size;
            log.info("Set maximum pool size to {}", size);
        }
    
        /**
         * Set the maximum idle time for connections
         * @param millis the maximum idle time in milliseconds
         */
        public void setMaxIdleTime(int millis) {
            if (millis <= 0) {
                throw new IllegalArgumentException("Idle time must be positive");
            }
            this.maxIdleTime = millis;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

        /**
         * Gets the maximum age for cached data before requiring refresh
         * @return the maximum cache age in milliseconds
         */
        public long getMaxAge() {
            return maxAge;
        }
    
        /**
         * Sets the maximum age for cached data
         * @param maxAge the maximum cache age in milliseconds
         */
        public void setMaxAge(long maxAge) {
            this.maxAge = maxAge;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/util/transport/Transport.java

         *
         * @param request the request to send
         * @param response the response object to populate
         * @param timeout the maximum time to wait for the response in milliseconds
         * @throws IOException if an I/O error occurs during communication
         */
        public synchronized void sendrecv(final Request request, final Response response, long timeout) throws IOException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  5. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        assertThat(request.requestLine).isEqualTo("GET / HTTP/1.1")
        assertThat(request.getHeader("Accept-Language")).isEqualTo("en-US")
    
        // Server has no more requests.
        assertThat(server.takeRequest(100, TimeUnit.MILLISECONDS)).isNull()
      }
    
      @Test
      fun redirect() {
        server.enqueue(
          MockResponse()
            .setResponseCode(HttpURLConnection.HTTP_MOVED_TEMP)
            .addHeader("Location: " + server.url("/new-path"))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 03 13:16:34 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

     */
    package okhttp3.internal.cache
    
    import java.io.IOException
    import java.net.HttpURLConnection.HTTP_GATEWAY_TIMEOUT
    import java.net.HttpURLConnection.HTTP_NOT_MODIFIED
    import java.util.concurrent.TimeUnit.MILLISECONDS
    import okhttp3.Cache
    import okhttp3.Headers
    import okhttp3.Interceptor
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.internal.closeQuietly
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 12:06:21 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

         */
        protected int thumbnailTaskBulkSize = 100;
    
        /**
         * Timeout in milliseconds for thumbnail task queue operations.
         */
        protected long thumbnailTaskQueueTimeout = 10 * 1000L;
    
        /**
         * Expiration time in milliseconds for no-image placeholder files.
         */
        protected long noImageExpired = 24 * 60 * 60 * 1000L; // 24 hours
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 27.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

            final long finalCleanupInterval = cleanupInterval;
            this.cleanupExecutor.scheduleWithFixedDelay(() -> cleanupExpiredLeases(finalCleanupInterval * 2), cleanupInterval, cleanupInterval,
                    TimeUnit.MILLISECONDS);
        }
    
        /**
         * Lease entry containing lease state information
         */
        public static class LeaseEntry {
            private final Smb2LeaseKey leaseKey;
            private volatile int leaseState;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                        roleSet.add(role);
                    }
                }
            }
        }
    
        /**
         * Gets the current time in milliseconds.
         * @return The current time in milliseconds.
         */
        protected long getCurrentTime() {
            return ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
        }
    
        /**
         * Adds a cookie name mapping.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4HttpClient.java

        private TimeoutTask connectionMonitorTask;
    
        /** Connection timeout in milliseconds */
        protected Integer connectionTimeout;
    
        /** Maximum total number of connections */
        protected Integer maxTotalConnections;
    
        /** Maximum connections per route */
        protected Integer maxConnectionsPerRoute;
    
        /** Socket timeout in milliseconds */
        protected Integer soTimeout;
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 54.4K bytes
    - Click Count (0)
Back to Top