Documentation ¶
Index ¶
- type CleanDelegate
- type HeartBeat
- type HeartBeatInfo
- type HeartBeatStage
- func (h *HeartBeatStage) Add(p *packet.Packet)
- func (h *HeartBeatStage) GetLatency() (latency, lastCommit time.Duration)
- func (h *HeartBeatStage) GetStat() *HeartBeat
- func (h *HeartBeatStage) GetTime(p *packet.Packet) time.Time
- func (h *HeartBeatStage) New() *packet.Packet
- func (h *HeartBeatStage) Now() []byte
- func (h *HeartBeatStage) Receive(p *packet.Packet)
- type Span
- type Speed
- type SpeedInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CleanDelegate ¶
type CleanDelegate interface {
HeartBeatClean(error)
}
type HeartBeatInfo ¶
type HeartBeatInfo struct {
// contains filtered or unexported fields
}
func (*HeartBeatInfo) Add ¶
func (s *HeartBeatInfo) Add(s2 *HeartBeatInfo)
type HeartBeatStage ¶
type HeartBeatStage struct {
// contains filtered or unexported fields
}
func NewHeartBeatStage ¶
func NewHeartBeatStage(f *flow.Flow, timeout time.Duration, d CleanDelegate) *HeartBeatStage
func (*HeartBeatStage) Add ¶
func (h *HeartBeatStage) Add(p *packet.Packet)
func (*HeartBeatStage) GetLatency ¶
func (h *HeartBeatStage) GetLatency() (latency, lastCommit time.Duration)
func (*HeartBeatStage) GetStat ¶
func (h *HeartBeatStage) GetStat() *HeartBeat
func (*HeartBeatStage) New ¶
func (h *HeartBeatStage) New() *packet.Packet
func (*HeartBeatStage) Now ¶
func (h *HeartBeatStage) Now() []byte
func (*HeartBeatStage) Receive ¶
func (h *HeartBeatStage) Receive(p *packet.Packet)
Click to show internal directories.
Click to hide internal directories.