Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Counters ¶
type Counters struct {
// contains filtered or unexported fields
}
Counters are used to keep quick stats counters so that we can do stats reporting without locking the hub and reading over the spokes internal state should not be accessed directly
func (*Counters) DecrJob ¶
func (c *Counters) DecrJob()
DecrJob updates counter - job has been removed
func (*Counters) DecrSpoke ¶
func (c *Counters) DecrSpoke()
DecrSpoke updates counter - spoke has been removed
func (*Counters) IncrJob ¶
func (c *Counters) IncrJob()
IncrJob updates counters - job has been added
Click to show internal directories.
Click to hide internal directories.