package
3.0.9+incompatible
Repository: https://github.com/pydio/cells.git
Documentation: pkg.go.dev

# Packages

Package grpc provides a gRPC service to effectively run task instances on multiple workers.

# Functions

NewDispatcher creates and initialises a new Dispatcher with this amount of workers.
NewRunnable creates a new runnable and populates it with the concrete task implementation found with action.ID, if such an implementation is found.
NewSubscriber creates a multiplexer for tasks managements and messages by maintaining a map of dispatcher, one for each job definition.
NewTaskFromEvent creates a task based on incoming job and event.
No description provided by the author
NewWorker creates and configures a new worker.
No description provided by the author

# Constants

DefaultMaximumWorkers is set to 20.
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

Dispatcher orchestrates the jobs by dispatching work to available workers.
No description provided by the author
Runnable represents the runnable instance of a given task.
Subscriber handles incoming events, applies selectors if any and generates all ActionMessage to trigger actions.
No description provided by the author
Worker represents the worker that executes the jobs.