Documentation ¶
Index ¶
- type Coordinator
- type Register
- func (obj *Register) AddProcessCPUUtilization(publicInternetAddress string, utilization int)
- func (obj *Register) GetGroupAmount() int
- func (obj *Register) GetSpecifiedWorkerProcessPublicInternetAddressesForRPC(groupId int, processIds []int, rpcBasePort int) ([]string, error)
- func (obj *Register) GetWorkerProcessIDs(groupId int) []int
- func (obj *Register) GetWorkerProcessPublicInternetAddressesForRPC(groupId int, rpcBasePort int) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Coordinator ¶
type Register ¶
type Register struct {
// contains filtered or unexported fields
}
func New ¶
func New(coordinator Coordinator) (*Register, error)
func (*Register) AddProcessCPUUtilization ¶
func (*Register) GetGroupAmount ¶
func (*Register) GetSpecifiedWorkerProcessPublicInternetAddressesForRPC ¶
func (*Register) GetWorkerProcessIDs ¶
Click to show internal directories.
Click to hide internal directories.