Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for statistics (0.06 sec)

  1. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

        }
    
        @Test
        @DisplayName("Test statistics toString")
        void testStatisticsToString() throws Exception {
            circuitBreaker.call(() -> "success");
    
            SimpleCircuitBreaker.Statistics stats = circuitBreaker.getStatistics();
            String str = stats.toString();
    
            assertNotNull(str);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

    /**
     * Helper class for managing crawler statistics and performance metrics.
     * This class provides functionality to track, record, and report statistics
     * about crawler operations including timing data, performance metrics, and
     * operational events. It uses an internal cache to maintain statistics
     * objects and provides methods to begin tracking, record events, and
     * finalize statistics collection.
     *
     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

                statistics.recordWriteError();
                throw e;
            }
        }
    
        /**
         * Gets the RDMA buffer manager for memory operations.
         *
         * @return buffer manager instance
         */
        public RdmaBufferManager getBufferManager() {
            return bufferManager;
        }
    
        /**
         * Gets RDMA statistics.
         *
         * @return statistics instance
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

            this.statistics = statistics;
            this.maxRetries = maxRetries;
            this.retryDelayMs = retryDelayMs;
        }
    
        /**
         * Create error handler with default settings
         *
         * @param statistics statistics tracker
         */
        public RdmaErrorHandler(RdmaStatistics statistics) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/SimpleCircuitBreaker.java

                log.warn("Circuit breaker {} manually tripped", name);
            }
        }
    
        /**
         * Get circuit breaker statistics
         *
         * @return statistics
         */
        public Statistics getStatistics() {
            return new Statistics(name, getState(), totalCalls.get(), totalSuccesses.get(), totalFailures.get(), rejectedCalls.get(),
                    consecutiveFailures.get(), getSuccessRate());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/ResourceManager.java

                    log.error("Error during resource cleanup", e);
                }
            }, cleanupInterval, cleanupInterval, TimeUnit.MILLISECONDS);
        }
    
        /**
         * Get resource statistics
         *
         * @return map of statistics
         */
        public Map<String, Object> getStatistics() {
            long active = 0;
            long closed = 0;
    
            for (ResourceHolder holder : activeResources.values()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/AuthenticationRateLimiter.java

        // Cleanup scheduler
        private final ScheduledExecutorService cleanupScheduler;
        private final AtomicBoolean closed = new AtomicBoolean(false);
    
        // Statistics
        private final AtomicLong totalAttemptsBlocked = new AtomicLong(0);
        private final AtomicLong totalAccountsLocked = new AtomicLong(0);
        private final AtomicLong totalIpsBlocked = new AtomicLong(0);
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

    package jcifs.internal.smb2.rdma;
    
    import java.util.concurrent.atomic.AtomicLong;
    
    /**
     * RDMA performance statistics and monitoring.
     *
     * This class tracks various RDMA operation metrics for performance
     * monitoring and troubleshooting purposes.
     */
    public class RdmaStatistics {
    
        /**
         * Creates a new RDMA statistics tracker
         */
        public RdmaStatistics() {
            // Default constructor
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/BufferCache.java

                    queueSize.incrementAndGet();
                }
            }
            // If queue is full, let the buffer be garbage collected
        }
    
        /**
         * Get current cache statistics for monitoring
         * @return formatted statistics string
         */
        public static String getCacheStatistics() {
            return String.format("BufferCache: queued=%d, max=%d, utilization=%.1f%%", queueSize.get(), MAX_BUFFERS,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            // MAC address (6 bytes)
            byte[] testMac = { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55 };
            System.arraycopy(testMac, 0, src, srcIndex + 55, 6);
    
            // Statistics (6 bytes)
            byte[] stats = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05 };
            System.arraycopy(stats, 0, src, srcIndex + 61, 6);
    
            int result = response.readRDataWireFormat(src, srcIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top