# Functions
CopyDurationMap copies this duration map.
LegacyStatsMarshall encodes the stats in JSON, encoding up to historyCount of each stat.
NewCacheAvailableStatus creates and returns a new CacheAvailableStatus, initializing internal pointer values.
NewCacheKbpses creates and returns a new, empty CacheKbpses, initializing internal pointer values.
NewCacheStatHistory constructs a new empty CacheStatHistory.
NewDSStats returns a deliveryservice.Stats object wrapped to be safe for multiple readers and a single writer.
NewDurationMap returns a new DurationMap safe for multiple readers and a single writer goroutine.
NewLastStats returns a wrapped a deliveryservice.LastStats object safe for multiple readers and one writer.
NewOpsConfig returns a new single-writer-multiple-reader OpsConfig.
NewResultHistory returns a new ResultHistory safe for multiple readers and a single writer.
NewResultInfoHistory returns a new ResultInfoHistory safe for multiple readers and a single writer.
NewResultStatHistory constructs a new, empty ResultStatHistory.
No description provided by the author
NewTrafficMonitorConfigMap returns an encapsulated LegacyTrafficMonitorConfigMap safe for multiple readers and a single writer.
NewUint returns a new single-writer-multiple-reader threadsafe uint.
NewUnpolledCaches returns a new UnpolledCaches object.
StatsMarshall encodes the stats in JSON, encoding up to historyCount of each stat.
# Constants
InterfaceStatNames is a "set" of the names of all the statistics that may be found on a network interface of a cache server.
InterfaceStatNames is a "set" of the names of all the statistics that may be found on a network interface of a cache server.
InterfaceStatNames is a "set" of the names of all the statistics that may be found on a network interface of a cache server.
No description provided by the author
# Structs
CacheAvailableStatus wraps a map of cache available statuses to be safe for multiple reader goroutines and one writer.
CacheKbpses wraps a map of cache kbps measurements to be safe for multiple reader goroutines and one writer.
CacheStatHistory is the type of a single record in a ResultStatHistory map.
DSStats wraps a deliveryservice.Stats object to be safe for multiple reader goroutines and a single writer.
DurationMap wraps a map[tc.CacheName]time.Duration in an object safe for a single writer and multiple readers.
LastStats wraps a deliveryservice.LastStats object to be safe for multiple readers and one writer.
OpsConfig provides safe access for multiple reader goroutines and a single writer to a stored OpsConfig object.
ResultHistory provides safe access for multiple goroutines readers and a single writer to a stored ResultHistory object.
ResultStatHistory provides safe access for multiple goroutines readers and a single writer to a stored HistoryHistory object.
ResultStatHistory is a thread-safe mapping of cache server hostnames to CacheStatHistory objects containing statistics for those cache servers.
ResultStatValHistory is thread-safe for one writer.
TrafficMonitorConfigMapThreadsafe encapsulates a LegacyTrafficMonitorConfigMap safe for multiple readers and a single writer.
Uint provides safe access for multiple goroutines readers and a single writer to a stored uint.
UnpolledCaches is a structure containing a map of caches names (which have yet to be polled) to booleans (which, if true, means the cache is directly polled), which is threadsafe for multiple readers and one writer.
# Interfaces
DSStatsReader permits reading of a dsdata.Stats object, but not writing.