- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for isIdle (0.04 sec)
-
cmd/common-main.go
logger.Fatal(err, "Failed to connect to KMS") } GlobalKMS = KMS } func getTLSConfig() (x509Certs []*x509.Certificate, manager *certs.Manager, secureConn bool, err error) { if !isFile(getPublicCertFile()) || !isFile(getPrivateKeyFile()) { return nil, nil, false, nil } if x509Certs, err = config.ParsePublicCertFile(getPublicCertFile()); err != nil { return nil, nil, false, err }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 32.5K bytes - Viewed (3) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
log.debug("Error checking connection idle time: {}", e.getMessage()); } } // Remove at most half of the idle connections int toRemoveCount = Math.min(idle.size(), Math.max(1, idle.size() / 2)); for (int i = 0; i < toRemoveCount; i++) { SmbTransportImpl transport = idle.get(i); if (connections.remove(transport)) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
SmbFile initialFile = new SmbFile(baseUrl + "shared/initial.txt", context); assertTrue(initialFile.exists(), "Initial file should exist"); assertTrue(initialFile.isFile(), "Initial file should be a file"); assertTrue(initialFile.canRead(), "Should be able to read initial file"); log.info("Basic connectivity test passed - can connect, list, and read files"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
final File noImageFile = new File(outputFile.getAbsolutePath() + NOIMAGE_FILE_SUFFIX); if (!noImageFile.isFile() || systemHelper.getCurrentTimeAsLong() - noImageFile.lastModified() > noImageExpired) { if (noImageFile.isFile() && !noImageFile.delete()) { logger.warn("Failed to delete {}", noImageFile.getAbsolutePath()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java
/** * Update activity timestamp */ public void updateActivity() { this.lastActivityTime = System.currentTimeMillis(); } /** * Get idle time since last activity * * @return idle time in milliseconds */ public long getIdleTime() { return System.currentTimeMillis() - lastActivityTime; } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
final long firstKey = doSend(request, response, params, timeout); if (Thread.currentThread() == this.thread) { // we are in the transport thread, ie. on idle disconnecting // this is synchronous operation // This does not handle compound requests synchronized (this.inLock) { final Long peekKey = peekKey();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0) -
src/main/java/jcifs/SmbResourceException.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 5.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
responseData.setHttpStatusCode(Constants.NOT_FOUND_STATUS_CODE); responseData.setCharSet(charset); responseData.setContentLength(0); } else if (file.isFile()) { if (logger.isDebugEnabled()) { logger.debug("Checking SmbFile Size: {}", filePath); } responseData.setContentLength(file.length());
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 23K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java
responseData.setHttpStatusCode(Constants.NOT_FOUND_STATUS_CODE); responseData.setCharSet(charset); responseData.setContentLength(0); } else if (file.isFile()) { if (logger.isDebugEnabled()) { logger.debug("Checking SmbFile Size: {}", filePath); } responseData.setContentLength(file.length());
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 22.5K bytes - Viewed (0) -
cmd/utils.go
// Upon error just return Go-syntax representation of the value return fmt.Sprintf("%#v", req) } // Formatted string. return strings.TrimSpace(buffer.String()) } // isFile - returns whether given path is a file or not. func isFile(path string) bool { if fi, err := os.Stat(path); err == nil { return fi.Mode().IsRegular() } return false } // UTCNow - returns current UTC time.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 33K bytes - Viewed (0)