Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for idle (0.33 sec)

  1. 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)
  2. 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)
  3. src/main/java/jcifs/SmbResourceException.java

            switch (resourceType) {
            case FILE_HANDLE:
                return "Close unused file handles or increase the file handle limit";
            case CONNECTION:
                return "Close idle connections or increase the connection pool size";
            case MEMORY:
                return "Reduce buffer sizes or increase heap memory";
            case DISK_SPACE:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

        // Connections are replaced if they idle out or are evicted from the pool
        evictAllConnections(pool)
        assertThat(pool.connectionCount()).isEqualTo(2)
        forceConnectionsToExpire(pool, expireTime)
        assertThat(pool.connectionCount()).isEqualTo(2)
    
        // Excess connections aren't removed until they idle out, even if no longer needed
        setPolicy(pool, address, AddressPolicy(1))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  5. 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)
  6. docs/metrics/prometheus/list.md

    | `minio_node_cpu_avg_system_max`      | CPU system time (max).                     |
    | `minio_node_cpu_avg_idle`            | CPU idle time.                             |
    | `minio_node_cpu_avg_idle_avg`        | CPU idle time (avg).                       |
    | `minio_node_cpu_avg_idle_max`        | CPU idle time (max).                       |
    | `minio_node_cpu_avg_iowait`          | CPU ioWait time.                           |
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 43.4K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

          }
          closed = true
        }
      }
    
      companion object {
        private const val NO_CHUNK_YET = -1L
    
        private const val STATE_IDLE = 0 // Idle connections are ready to write request headers.
        private const val STATE_OPEN_REQUEST_BODY = 1
        private const val STATE_WRITING_REQUEST_BODY = 2
        private const val STATE_READ_RESPONSE_HEADERS = 3
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java

            assertEquals(3, crawlerProcesses.intValue());
        }
    
        // Test boolean conversions
        public void test_booleanConversions() {
            // Test boolean conversion for ignore idle threads
            boolean ignoreIdleThreads = fessConfig.isCrawlerHotthreadIgnoreIdleThreads();
            assertTrue(ignoreIdleThreads);
        }
    
        // Test pattern matching
        public void test_patternMatching() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeConnection.java

    import jcifs.util.transport.TransportException;
    
    /**
     * This class encapsulates the logic for switching tree connections
     *
     * Switching trees can occur either when the tree has been disconnected by failure or idle-timeout - as well as on
     * DFS referrals.
     *
     * @author mbechler
     *
     */
    class SmbTreeConnection implements AutoCloseable {
    
        private static final Logger log = LoggerFactory.getLogger(SmbTreeConnection.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            }
        }
    
        private void performHealthCheck() {
            for (ChannelInfo channel : channels.values()) {
                if (channel.getIdleTime() > 60000) { // 1 minute idle
                    // Send keep-alive
                    try {
                        sendKeepAlive(channel);
                    } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
Back to top