Package-level declarations

Types

Link copied to clipboard

A traffic monitor lock, responsible for conditionally synchronizing. We use this implementation to skip the synchronization overhead most of the time. The only time we do use synchronization is when net.rsprot.protocol.metrics.NetworkTrafficMonitor.resetTransient function is called, during which we shortly lock the modifications down in order to ensure consistency in the measurements.