Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for Statistics (0.4 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. cmd/bucket-stats.go

    		idx := (l.LastMin + 1) % 60
    		l.Totals[idx] = AccElem{}
    		l.LastMin++
    	}
    }
    
    // BucketStatsMap captures bucket statistics for all buckets
    type BucketStatsMap struct {
    	Stats     map[string]BucketStats
    	Timestamp time.Time
    }
    
    // BucketStats bucket statistics
    type BucketStats struct {
    	Uptime           int64                  `json:"uptime"`
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            Map<EventType, Long> stats = logger.getStatistics();
            assertEquals(Long.valueOf(1), stats.get(EventType.CONFIGURATION_CHANGE), "Should have 1 configuration event");
        }
    
        @Test
        @DisplayName("Test statistics accumulation")
        void testStatisticsAccumulation() {
            logger.logAuthentication(true, "user1", "DOMAIN", "192.168.1.1");
            logger.logAuthentication(false, "user2", "DOMAIN", "192.168.1.2");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K 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/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)
Back to top