Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for lastHealthCheck (0.05 sec)

  1. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

        /**
         * Perform health check on connections
         */
        private void performHealthCheck() {
            long now = System.currentTimeMillis();
            if (now - lastHealthCheck < healthCheckInterval) {
                return;
            }
    
            lastHealthCheck = now;
            totalHealthChecks.incrementAndGet();
            List<SmbTransportImpl> unhealthy = new ArrayList<>();
    
            for (SmbTransportImpl transport : connections) {
    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/smb/MultiChannelManager.java

                return isHealthy;
            }
    
            public void setHealthy(boolean healthy) {
                this.isHealthy = healthy;
                this.lastHealthCheck = System.currentTimeMillis();
            }
    
            public long getLastHealthCheck() {
                return lastHealthCheck;
            }
    
            @Override
            public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top