- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for toMillis (0.04 sec)
-
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
} catch (e: Exception) { val tookMs = TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs) logger.log( buildString { append("<-- HTTP FAILED: $e.") append(" ${redactUrl(request.url)} (${tookMs}ms)") }, ) throw e } val tookMs = TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs) val responseBody = response.body!!
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 11.4K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
@Override public FileVisitResult visitFile(final Path file, final BasicFileAttributes attrs) throws IOException { if (ComponentUtil.getSystemHelper().getCurrentTimeAsLong() - Files.getLastModifiedTime(file).toMillis() > expiry) { deletedFileList.add(file); if (deletedFileList.size() > maxPurgeSize) { deleteFiles(); } }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.9K bytes - Viewed (0)