Documentation ¶
Overview ¶
Package stats exposes internal data structures for Stat command
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DMap ¶
type DMap struct { Name string Length int // Statistics about memory representation of the DMap. SlabInfo SlabInfo }
DMap denotes a distributed map instance on the cluster.
type Partition ¶
type Partition struct { Owner discovery.Member PreviousOwners []discovery.Member Backups []discovery.Member Length int DMaps map[string]DMap }
Partition denotes a partition and its metadata in the cluster.
type Runtime ¶
type Runtime struct { GOOS string GOARCH string Version string NumCPU int NumGoroutine int MemStats runtime.MemStats }
Runtime exposes memory stats and various metrics from Go runtime.
type SlabInfo ¶
type SlabInfo struct { // Total allocated space by the append-only log files. Allocated int // Total inuse memory space in the append-only log files. Inuse int // Total garbage(deleted key/value pairs) space in the append-only log files. Garbage int }
SlabInfo denotes memory usage of the storage engine(a hash indexed append only log file).
Click to show internal directories.
Click to hide internal directories.