service

package
v3.11.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2017 License: Apache-2.0, Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitPackage

func InitPackage(cfg *config.MysqlApiConfig, hosts string)

func NewSlingBase

func NewSlingBase() *sling.Sling

func NqmAgentHeartbeat

func NqmAgentHeartbeat(req *nqmModel.HeartbeatRequest) (*nqmModel.AgentView, error)

func NqmAgentHeartbeatTargetList

func NqmAgentHeartbeatTargetList(agentID int32) ([]*nqmModel.HeartbeatTarget, error)

Types

type AgentHeartbeatService

type AgentHeartbeatService struct {
	// contains filtered or unexported fields
}

func NewAgentHeartbeatService

func NewAgentHeartbeatService(config *cQueue.Config) *AgentHeartbeatService

func (*AgentHeartbeatService) CumulativeAgentsDropped

func (s *AgentHeartbeatService) CumulativeAgentsDropped() int64

func (*AgentHeartbeatService) CumulativeAgentsPut

func (s *AgentHeartbeatService) CumulativeAgentsPut() int64

func (*AgentHeartbeatService) CumulativeRowsAffected

func (s *AgentHeartbeatService) CumulativeRowsAffected() int64

func (*AgentHeartbeatService) CurrentSize

func (s *AgentHeartbeatService) CurrentSize() int

func (*AgentHeartbeatService) Put

func (s *AgentHeartbeatService) Put(req *cModel.AgentReportRequest, updateTime int64)

func (*AgentHeartbeatService) Start

func (s *AgentHeartbeatService) Start()

func (*AgentHeartbeatService) Stop

func (s *AgentHeartbeatService) Stop()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL