Package-level declarations
Types
Link copied to clipboard
class ConcurrentChannelTrafficSnapshot<CP : ClientProt, Enum<CP>, SP : ServerProt, Enum<SP>, DC : Enum<DC>>(val startDateTime: LocalDateTime, val endDateTime: LocalDateTime, val activeConnectionsByAddress: Map<InetAddress, Int>, val inetAddressSnapshots: Map<InetAddress, InetAddressSnapshot<CP, SP, DC>>) : ChannelTrafficSnapshot
A concurrent channel traffic snapshot is the result of calling net.rsprot.protocol.metrics.channel.impl.ConcurrentChannelTrafficMonitor.snapshot. This snapshot will track any metrics behind a specific channel type (login, JS5, game), such as the number of active connections from each InetAddress at the time of capturing the snapshot, as well as a general overview of the traffic that a specific channel witnessed.
Link copied to clipboard
A no-op implementation of a channel's traffic snapshot.