Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for incrementAndGet (1.12 sec)

  1. src/main/java/jcifs/util/SmbCircuitBreaker.java

                    totalBackpressureRejections.incrementAndGet();
                    throw new CIFSException("Circuit breaker '" + name + "' rejected request due to backpressure");
                }
            }
    
            long startTime = System.nanoTime();
            boolean semaphoreAcquired = backpressureEnabled && requestSemaphore != null;
    
            try {
                activeRequests.incrementAndGet();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/ServerResponseValidator.java

            totalValidations.incrementAndGet();
    
            if (buffer == null) {
                failedValidations.incrementAndGet();
                throw new SmbException("Response buffer is null");
            }
    
            if (buffer.length < expectedSize) {
                failedValidations.incrementAndGet();
                bufferOverflowsPrevented.incrementAndGet();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

         * Record an RDMA operation error
         */
        public void recordError() {
            operationErrors.incrementAndGet();
        }
    
        /**
         * Record a new RDMA connection creation
         */
        public void recordConnectionCreated() {
            connectionsCreated.incrementAndGet();
            connectionsActive.incrementAndGet();
        }
    
        /**
         * Record RDMA connection closure
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

                                // Some successes
                                breaker.call(() -> "success");
                                successCount.incrementAndGet();
                            }
                        } catch (Exception e) {
                            failureCount.incrementAndGet();
                        }
                    }
                });
            }
    
            // Start all threads
            for (Thread t : threads) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/AuthenticationRateLimiter.java

                if (ip.isBlocked()) {
                    if (ip.getBlockExpiry().isAfter(Instant.now())) {
                        totalAttemptsBlocked.incrementAndGet();
                        totalIpsBlocked.incrementAndGet();
                        log.warn("IP {} is blocked due to excessive attempts", sourceIp);
                        return false;
                    } else {
                        // Block expired, reset
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/SimpleCircuitBreaker.java

         */
        public <T> T call(Callable<T> callable, Callable<T> fallback) throws Exception {
            totalCalls.incrementAndGet();
    
            State currentState = evaluateState();
    
            if (currentState == State.OPEN) {
                rejectedCalls.incrementAndGet();
                if (fallback != null) {
                    log.debug("Circuit breaker {} is open, using fallback", name);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. docs/smb3-features/05-rdma-smb-direct-design.md

        
        public void recordRdmaRead(int bytes) {
            rdmaReads.incrementAndGet();
            bytesTransferred.addAndGet(bytes);
        }
        
        public void recordRdmaWrite(int bytes) {
            rdmaWrites.incrementAndGet();
            bytesTransferred.addAndGet(bytes);
        }
        
        public void recordError() {
            operationErrors.incrementAndGet();
        }
        
        public double getErrorRate() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

                        if (shouldRelease) {
                            session.release();
                            releaseCount.incrementAndGet();
                        } else {
                            session.acquire();
                            acquireCount.incrementAndGet();
                        }
    
                    } catch (Exception e) {
                        // Ignore expected exceptions from over-release
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/ResourceManager.java

            String resourceId = generateResourceId(resource);
            ResourceHolder holder = new ResourceHolder(resourceId, resource, referenceQueue);
    
            activeResources.put(resourceId, holder);
            totalAllocated.incrementAndGet();
    
            log.trace("Registered resource: {} ({})", resourceId, resource.getClass().getSimpleName());
    
            return resourceId;
        }
    
        /**
         * Mark a resource as closed
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            void recordConnection() {
                connectionsCreated.incrementAndGet();
                lastActivityTime = System.currentTimeMillis();
            }
    
            void recordSuccess() {
                successCount.incrementAndGet();
                lastActivityTime = System.currentTimeMillis();
            }
    
            void recordFailure() {
                failureCount.incrementAndGet();
                lastActivityTime = System.currentTimeMillis();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
Back to top