Documentation ¶
Overview ¶
Copyright 2022 VMware, Inc. SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrPool ¶
type GrPool struct {
// contains filtered or unexported fields
}
GrPool is an implementation of Pool.
func WithContext ¶
WithContext inits the worker GrPool with context.
func (*GrPool) MaxQueueSize ¶
MaxQueueSize set the job queue size. If the job queue is full, then the related job queuing calls will be blocked.
func (*GrPool) MaxWorkers ¶
MaxWorkers sets the max number of concurrent workers.
Click to show internal directories.
Click to hide internal directories.