Documentation
¶
Index ¶
Constants ¶
View Source
const (
QUEUE_SIZE = 10000
)
Variables ¶
This section is empty.
Functions ¶
func NewHeartBeater ¶
Types ¶
type OpExecFunc ¶
type OpWorker ¶
type OpWorker struct { Name string OpC chan iops.IOp CmdC chan Cmd State State Pending int64 ClosedCh chan struct{} Stats Stats ExecFunc OpExecFunc }
func NewOpWorker ¶
func (*OpWorker) StatsString ¶
func (*OpWorker) StopReceiver ¶
func (w *OpWorker) StopReceiver()
type Stats ¶
func (*Stats) AddProcessed ¶
func (s *Stats) AddProcessed()
func (*Stats) AddSuccessed ¶
func (s *Stats) AddSuccessed()
func (*Stats) RecordTime ¶
Click to show internal directories.
Click to hide internal directories.