Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Coordinator ¶
type Coordinator struct {
// contains filtered or unexported fields
}
func NewCoordinator ¶
func NewCoordinator(numberOfMapWorker int, numberOfReduceWorker int) *Coordinator
func (*Coordinator) LoadWorkloads ¶
func (c *Coordinator) LoadWorkloads(workloads []FileInfo) *Coordinator
func (*Coordinator) RegisterMapFn ¶
func (c *Coordinator) RegisterMapFn(fn Mapfn) *Coordinator
func (*Coordinator) RegisterReduceFn ¶
func (c *Coordinator) RegisterReduceFn(fn Reducefn) *Coordinator
func (*Coordinator) Run ¶
func (c *Coordinator) Run() error
Click to show internal directories.
Click to hide internal directories.