Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for millis (0.29 sec)

  1. src/main/java/org/codelibs/core/lang/ThreadUtil.java

         *
         * @param millis
         *            the length of time to sleep in milliseconds
         * @throws InterruptedRuntimeException
         *             if any thread has interrupted the current thread.
         */
        public static void sleep(final long millis) {
            if (millis < 1L) {
                return;
            }
            try {
                Thread.sleep(millis);
            } catch (final InterruptedException e) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java

        /** The key of the configuration. e.g. false */
        String FRAMEWORK_DEBUG = "framework.debug";
    
        /** The key of the configuration. e.g. 0 */
        String TIME_ADJUST_TIME_MILLIS = "time.adjust.time.millis";
    
        /** The key of the configuration. e.g. true */
        String MAIL_SEND_MOCK = "mail.send.mock";
    
        /** The key of the configuration. e.g. localhost:25 */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

         * 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;
            log.info("Set maximum idle time to {} ms", millis);
        }
    
        /**
         * Set the health check interval
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

            awaitTermination(0);
        }
    
        /**
         * Waits for the crawling process to terminate for a specified duration.
         * @param millis The maximum time to wait in milliseconds. A value of 0 means wait indefinitely.
         */
        public void awaitTermination(final long millis) {
            if (parentThread != null) {
                try {
                    if (logger.isDebugEnabled()) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

                builder.allRecordCount(searchHits.getTotalHits().value());
                builder.allRecordCountRelation(searchHits.getTotalHits().relation().toString());
                builder.queryTime(searchResponse.getTook().millis());
    
                if (searchResponse.getTotalShards() != searchResponse.getSuccessfulShards()) {
                    builder.partialResults(true);
                }
    
                // build highlighting fields
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 09:24:04 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

             * This method blocks until the thread completes or the timeout expires.
             *
             * @param mills maximum time to wait in milliseconds
             */
            public void awaitTermination(final long mills) {
                try {
                    join(mills);
                } catch (final InterruptedException e) {
                    if (logger.isDebugEnabled()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/ResourceManager.java

        private ScheduledFuture<?> cleanupTask;
        private volatile boolean shutdownInProgress = false;
    
        // Configuration
        private long maxResourceAge = TimeUnit.HOURS.toMillis(1); // 1 hour default
        private long cleanupInterval = TimeUnit.MINUTES.toMillis(5); // 5 minutes default
        private boolean leakDetectionEnabled = true;
        private boolean autoCleanupEnabled = true;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/AuthenticationRateLimiter.java

                t.setDaemon(true);
                return t;
            });
    
            cleanupScheduler.scheduleWithFixedDelay(this::cleanup, cleanupInterval.toMillis(), cleanupInterval.toMillis(),
                    TimeUnit.MILLISECONDS);
    
            log.info("Authentication rate limiter initialized: maxAccount={}, maxIp={}, maxGlobal={}/min", maxAttemptsPerAccount,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java

                        map.put("name", name);
                        try {
                            map.put("lastModified", new Date(Files.getLastModifiedTime(filePath).toMillis()));
                        } catch (final IOException e) {
                            throw new IORuntimeException(e);
                        }
                        logFileItems.add(map);
                    });
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/SmbCircuitBreaker.java

                try {
                    T result = operation.get();
                    long responseTime = TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startTime);
                    onSuccess(responseTime);
                    return result;
                } catch (Exception e) {
                    long responseTime = TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startTime);
                    onFailure(e, responseTime);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
Back to top