Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for ConcurrentHashMap (0.06 sec)

  1. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

     */
    public class LeaseManager {
    
        private static final Logger log = LoggerFactory.getLogger(LeaseManager.class);
    
        private final ConcurrentHashMap<Smb2LeaseKey, LeaseEntry> leases;
        private final ConcurrentHashMap<String, Smb2LeaseKey> pathToLease;
        private final ConcurrentHashMap<String, WeakReference<SmbFile>> fileCache;
        private final ReadWriteLock lock;
        private final CIFSContext context;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessClient.java

        private final InetAddress witnessServer;
        private final int port;
        private final CIFSContext context;
        private final ConcurrentHashMap<String, WitnessRegistration> registrations;
        private final ConcurrentHashMap<String, WitnessNotificationListener> listeners;
        private final ConcurrentHashMap<String, CompletableFuture<Void>> asyncNotifyTasks;
        private final ScheduledExecutorService scheduler;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

        private final Map<String, ConnectionMetrics> connectionMetrics = new ConcurrentHashMap<>();
    
        // Proactive health monitoring
        private volatile boolean proactiveHealthCheckEnabled = true;
        private final long proactiveCheckInterval = DEFAULT_PROACTIVE_CHECK_INTERVAL;
    
        // Connection failure tracking
        private final Map<String, Long> lastFailureTimes = new ConcurrentHashMap<>();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

        private static final int MAX_BACKOFF_SHIFT = 3; // Maximum 8 seconds (2^3 * 1000ms)
    
        private final DirectoryLeaseManager leaseManager;
        private final ConcurrentHashMap<String, ChangeNotificationHandle> activeWatchers;
        private final ConcurrentHashMap<String, Integer> failureCounts;
    
        /**
         * Directory change types
         */
        public enum DirectoryChangeType {
            /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/ResourceManager.java

    import java.lang.ref.Reference;
    import java.lang.ref.ReferenceQueue;
    import java.lang.ref.WeakReference;
    import java.util.Collections;
    import java.util.Map;
    import java.util.Set;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.Executors;
    import java.util.concurrent.ScheduledExecutorService;
    import java.util.concurrent.ScheduledFuture;
    import java.util.concurrent.ThreadFactory;
    import java.util.concurrent.TimeUnit;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/AuthenticationRateLimiter.java

        private final Duration lockoutDuration;
        private final Duration cleanupInterval;
    
        // Tracking maps
        private final Map<String, AccountAttempts> accountAttempts = new ConcurrentHashMap<>();
        private final Map<String, IpAttempts> ipAttempts = new ConcurrentHashMap<>();
        private final AtomicInteger globalAttemptsInCurrentWindow = new AtomicInteger(0);
        private final AtomicLong currentWindowStart = new AtomicLong(System.currentTimeMillis());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/SecureKeyManager.java

        private static final Logger log = LoggerFactory.getLogger(SecureKeyManager.class);
    
        private final Map<String, SecretKey> sessionKeys = new ConcurrentHashMap<>();
        private final Map<String, byte[]> rawKeys = new ConcurrentHashMap<>();
        private final SecureRandom secureRandom = new SecureRandom();
        private KeyStore keyStore;
        private char[] keyStorePassword;
        private volatile boolean closed = false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/PreauthIntegrityService.java

     */
    package jcifs.smb;
    
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    import java.security.SecureRandom;
    import java.util.Arrays;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentMap;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.internal.smb2.nego.PreauthIntegrityNegotiateContext;
    
    /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/audit/SecurityAuditLogger.java

        private volatile boolean shutdown = false;
    
        // Event statistics
        private final Map<EventType, AtomicLong> eventCounters = new ConcurrentHashMap<>();
        private final Map<EventType, AtomicLong> eventTimings = new ConcurrentHashMap<>();
    
        // Configuration
        private volatile boolean enableJsonLogging = true;
        private volatile boolean maskSensitiveData = true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            int threadCount = 10;
            int noncesPerThread = 100;
            ConcurrentHashMap<String, Boolean> allNonces = new ConcurrentHashMap<>();
            CountDownLatch latch = new CountDownLatch(threadCount);
            AtomicInteger collisions = new AtomicInteger(0);
    
            // When generating nonces concurrently
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
Back to top