# Module cloudi_service_map_reduce

- Description
- Function Index
- Function Details

### CloudI (Abstract) Map-Reduce Service

This module provides an Erlang behaviour for fault-tolerant, database agnostic map-reduce.

Copyright © 2012-2015 Michael Truog

Version: 1.4.1 Jan 10 2017 20:30:02 ------------------------------------------------------------------------

Behaviours: `cloudi_service`.

This module defines the `cloudi_service_map_reduce` behaviour.
Required callback functions: `cloudi_service_map_reduce_new/5`, `cloudi_service_map_reduce_send/2`, `cloudi_service_map_reduce_resend/2`, `cloudi_service_map_reduce_recv/7`, `cloudi_service_map_reduce_info/3`.

Authors: Michael Truog (`mjtruog [at] gmail (dot) com`).

## Description

### CloudI (Abstract) Map-Reduce Service

This module provides an Erlang behaviour for fault-tolerant, database agnostic map-reduce. See the hexpi test for example usage.

## Function Index

cloudi_service_handle_info/3 |
cloudi_service_handle_request/11 |
cloudi_service_init/4 |
cloudi_service_terminate/3 |

## Function Details

### cloudi_service_handle_info/3

`cloudi_service_handle_info(Timeout_async_active, State, Dispatcher) -> any()`

### cloudi_service_handle_request/11

`cloudi_service_handle_request(Type, Name, Pattern, RequestInfo, Request, Timeout, Priority, TransId, Pid, State, Dispatcher) -> any()`

### cloudi_service_init/4

`cloudi_service_init(Args, Prefix, Timeout, Dispatcher) -> any()`

### cloudi_service_terminate/3

`cloudi_service_terminate(Reason, Timeout, State) -> any()`

Generated by EDoc, Jan 10 2017, 20:30:02.