Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configurer ¶
type Interceptor ¶
type Interceptor interface { UnaryServerInterceptor() grpc.UnaryServerInterceptor Name() string }
type Pool ¶
type Pool interface { // Workers return a worker list associated with the pool. Workers() (workers []*worker.Process) // Exec payload Exec(ctx context.Context, p *payload.Payload, stopCh chan struct{}) (chan *staticPool.PExec, error) // RemoveWorker removes worker from the pool. RemoveWorker(ctx context.Context) error // AddWorker adds worker to the pool. AddWorker() error // Reset kill all workers inside the watcher and replaces with new Reset(ctx context.Context) error // Destroy the underlying stack (but let them complete the task). Destroy(ctx context.Context) // QueueSize shows the number of requests in the queue QueueSize() uint64 }
Click to show internal directories.
Click to hide internal directories.