Documentation ¶
Overview ¶
Package elect is used to find the target job and reserve resource for it
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct{}
Action defines the action
func (*Action) Execute ¶
Execute selects the target job which is of the highest priority and waits for the longest time.
func (*Action) UnInitialize ¶
func (alloc *Action) UnInitialize()
UnInitialize releases resource which are not useful.
Click to show internal directories.
Click to hide internal directories.