Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for incrementAndGet (0.06 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

            Consumer<String> countingConsumer = line -> {
                if (line.startsWith("Thread:")) {
                    threadCount.incrementAndGet();
                } else if (line.startsWith("\tat ")) {
                    stackTraceCount.incrementAndGet();
                }
            };
    
            ThreadDumpUtil.processThreadDump(countingConsumer);
    
            // Verify that multiple threads were processed
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

                @Override
                public void store(DataStoreParams paramMap, Map<String, Object> dataMap) {
                    assertNotNull(paramMap);
                    assertNotNull(dataMap);
                    docSize.incrementAndGet();
                    execTime.addAndGet(100);
                }
    
                @Override
                public long getDocumentSize() {
                    return docSize.get();
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top