dbpb

package
v0.5.31 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type HostInfo

type HostInfo struct {
	HostName       string `protobuf:"bytes,1,opt,name=hostName,proto3" json:"hostName,omitempty"`
	TaskNums       int32  `protobuf:"varint,2,opt,name=taskNums,proto3" json:"taskNums,omitempty"`
	FailNums       int32  `protobuf:"varint,3,opt,name=failNums,proto3" json:"failNums,omitempty"`
	LastTime       int64  `protobuf:"varint,4,opt,name=lastTime,proto3" json:"lastTime,omitempty"`
	LastFailTime   int64  `protobuf:"varint,5,opt,name=lastFailTime,proto3" json:"lastFailTime,omitempty"`
	StartSleepTime int64  `protobuf:"varint,6,opt,name=startSleepTime,proto3" json:"startSleepTime,omitempty"`
	SleepTime      int64  `protobuf:"varint,7,opt,name=sleepTime,proto3" json:"sleepTime,omitempty"`
	MultiNums      int32  `protobuf:"varint,8,opt,name=multiNums,proto3" json:"multiNums,omitempty"`
	// startTime - 这个用来统计这次错误之前,请求次数用的
	StartTime int64 `protobuf:"varint,9,opt,name=startTime,proto3" json:"startTime,omitempty"`
	// curNums - 同上
	CurNums int64 `protobuf:"varint,10,opt,name=curNums,proto3" json:"curNums,omitempty"`
	// sleepTimeAtStart - sleep time at start task
	//
	// Deprecated: Do not use.
	SleepTimeAtStart int32 `protobuf:"varint,11,opt,name=sleepTimeAtStart,proto3" json:"sleepTimeAtStart,omitempty"`
	// sleepTimeMsAtStart - sleep time (ms) at start task
	SleepTimeMsAtStart int32 `protobuf:"varint,12,opt,name=sleepTimeMsAtStart,proto3" json:"sleepTimeMsAtStart,omitempty"`
	// contains filtered or unexported fields
}

HostInfo - host info

func (*HostInfo) Descriptor deprecated

func (*HostInfo) Descriptor() ([]byte, []int)

Deprecated: Use HostInfo.ProtoReflect.Descriptor instead.

func (*HostInfo) GetCurNums added in v0.1.37

func (x *HostInfo) GetCurNums() int64

func (*HostInfo) GetFailNums

func (x *HostInfo) GetFailNums() int32

func (*HostInfo) GetHostName

func (x *HostInfo) GetHostName() string

func (*HostInfo) GetLastFailTime

func (x *HostInfo) GetLastFailTime() int64

func (*HostInfo) GetLastTime

func (x *HostInfo) GetLastTime() int64

func (*HostInfo) GetMultiNums

func (x *HostInfo) GetMultiNums() int32

func (*HostInfo) GetSleepTime

func (x *HostInfo) GetSleepTime() int64

func (*HostInfo) GetSleepTimeAtStart deprecated added in v0.1.37

func (x *HostInfo) GetSleepTimeAtStart() int32

Deprecated: Do not use.

func (*HostInfo) GetSleepTimeMsAtStart added in v0.1.39

func (x *HostInfo) GetSleepTimeMsAtStart() int32

func (*HostInfo) GetStartSleepTime

func (x *HostInfo) GetStartSleepTime() int64

func (*HostInfo) GetStartTime added in v0.1.37

func (x *HostInfo) GetStartTime() int64

func (*HostInfo) GetTaskNums

func (x *HostInfo) GetTaskNums() int32

func (*HostInfo) ProtoMessage

func (*HostInfo) ProtoMessage()

func (*HostInfo) ProtoReflect added in v0.5.5

func (x *HostInfo) ProtoReflect() protoreflect.Message

func (*HostInfo) Reset

func (x *HostInfo) Reset()

func (*HostInfo) String

func (x *HostInfo) String() string

Jump to

Keyboard shortcuts

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