Documentation
¶
Index ¶
Constants ¶
View Source
const (
GCSweepInterval = 10 * time.Second
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FunctionManagerStatistics ¶ added in v0.0.6
type MessageTypeStatistics ¶ added in v0.0.6
type MessageTypeStatistics struct { Task uint64 `json:"Task"` TaskEcho uint64 `json:"TaskEcho"` TaskCancel uint64 `json:"TaskCancel"` TaskCancelEcho uint64 `json:"TaskCancelEcho"` TaskResult uint64 `json:"TaskResult"` Heartbeat uint64 `json:"Heartbeat"` FunctionRequest uint64 `json:"FunctionRequest"` FunctionResponse uint64 `json:"FunctionResponse"` MonitoringRequest uint64 `json:"MonitoringRequest"` MonitoringResponse uint64 `json:"MonitoringResponse"` }
type SchedulerStatistics ¶ added in v0.0.6
type SchedulerStatistics struct { Received *MessageTypeStatistics `json:"received"` Sent *MessageTypeStatistics `json:"sent"` TaskManager *TaskManagerStatistics `json:"task_manager"` FunctionManager *FunctionManagerStatistics `json:"function_manager"` WorkerManager *WorkerManagerStatistics `json:"worker_manager"` }
type TaskManagerStatistics ¶ added in v0.0.6
type WorkerHeap ¶
type WorkerHeap struct { Entries []*WorkerHeapEntry WorkerIDToEntry map[string]*WorkerHeapEntry }
func NewWorkerHeap ¶
func NewWorkerHeap() *WorkerHeap
func (WorkerHeap) Len ¶
func (h WorkerHeap) Len() int
func (WorkerHeap) Less ¶
func (h WorkerHeap) Less(i, j int) bool
func (*WorkerHeap) Peek ¶
func (h *WorkerHeap) Peek() *WorkerHeapEntry
func (*WorkerHeap) Pop ¶
func (h *WorkerHeap) Pop() any
func (*WorkerHeap) Push ¶
func (h *WorkerHeap) Push(x any)
func (WorkerHeap) Swap ¶
func (h WorkerHeap) Swap(i, j int)
type WorkerHeapEntry ¶
type WorkerManagerStatistics ¶ added in v0.0.6
Click to show internal directories.
Click to hide internal directories.