Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChunkedCounter ¶
type ChunkedCounter struct {
// contains filtered or unexported fields
}
ChunkedCounter ...
func (*ChunkedCounter) Increase ¶
func (counter *ChunkedCounter) Increase() (previous uint64)
Increase ...
type CounterGroup ¶
type CounterGroup struct { DistributedCounters []DistributedCounter RandomSource RandomSource }
CounterGroup ...
func (CounterGroup) SelectCounter ¶
func (group CounterGroup) SelectCounter() DistributedCounter
SelectCounter ...
type DistributedCounter ¶
DistributedCounter ...
type TransformedCounter ¶
type TransformedCounter struct { DistributedCounter DistributedCounter Transformer Transformer }
TransformedCounter ...
func (TransformedCounter) NextCountChunk ¶
func (counter TransformedCounter) NextCountChunk() (uint64, error)
NextCountChunk ...
Click to show internal directories.
Click to hide internal directories.