Package com.loomcache.server.network
@NullMarked
package com.loomcache.server.network
-
ClassDescriptionBackpressure and flow control mechanism for distributed cache networking.Immutable snapshot of backpressure statistics for a single peer.Wraps a message and its associated connection context for pipelined command execution.Pool of virtual threads that execute commands while preserving FIFO order per connection.Functional interface for command execution.Wraps a TCP connection to a peer with automatic resource management and metrics.Monitors health status of active connections with latency, error rate, and idle time tracking.Immutable record containing health information for a single connection.Degraded status: connection showing concerning metrics but still operational.Functional interface for health check callbacks.Record containing comprehensive metrics for all monitored connections.Sealed interface representing the health status of a connection.Healthy status: connection operating normally.Unhealthy status: connection exceeds critical thresholds and may be closed.Unknown status: no health data collected yet.Health checking loop for distributed cache cluster.Interface for handling incoming cache protocol messages and peer disconnections.Server-side handler for the
PROTOCOL_HELLOopcode introduced in BLK-2026-04-22-007 Day 1.Production-quality rate limiter supporting multiple policies and per-client limiting.Builder for fluent RateLimiter construction.Per-client metrics snapshot.Immutable snapshot of rate limiter metrics.Sealed interface for rate limit policies.Fixed window policy: allow X requests per window duration.Sliding window policy: allow X requests in the last D duration.Token bucket policy: accumulate tokens at specified rate, burst capacity.TCP server using Java 25 virtual threads.Bandwidth statistics for the server.Information about a single connection.Server health status snapshot.Server-wide statistics snapshot.