This project has retired. For details please refer to its Attic page.
Apache REEF: Org.Apache.REEF.Network.Group.Pipelining.Impl.DefaultPipelineDataConverter< T > Class Template Reference
Apache REEF  0.15.0
Retainable Evaluator Execution Framework
Public Member Functions | List of all members
Org.Apache.REEF.Network.Group.Pipelining.Impl.DefaultPipelineDataConverter< T > Class Template Reference

Default IPipelineDataConverter implementation This basically is a non-pipelined implementation that just packs the whole message in one single PipelineMessage More...

Inherits Org.Apache.REEF.Network.Group.Pipelining.IPipelineDataConverter< T >.

Public Member Functions

 DefaultPipelineDataConverter ()
 
List< PipelineMessage< T > > PipelineMessage (T message)
 Converts the original message to be communicated in to a single pipelined message More...
 
FullMessage (List< PipelineMessage< T >> pipelineMessage)
 Constructs the full final message from the communicated pipelined message More...
 

Detailed Description

Default IPipelineDataConverter implementation This basically is a non-pipelined implementation that just packs the whole message in one single PipelineMessage

Template Parameters
TThe message type

Constructor & Destructor Documentation

Member Function Documentation

T Org.Apache.REEF.Network.Group.Pipelining.Impl.DefaultPipelineDataConverter< T >.FullMessage ( List< PipelineMessage< T >>  pipelineMessage)
inline

Constructs the full final message from the communicated pipelined message

Parameters
pipelineMessageThe enumerator over received pipelined messages It is assumed to have only one element
Returns
The full constructed message

Implements Org.Apache.REEF.Network.Group.Pipelining.IPipelineDataConverter< T >.

Converts the original message to be communicated in to a single pipelined message

Parameters
messageThe original message
Returns
The list of pipelined messages with only one element

Implements Org.Apache.REEF.Network.Group.Pipelining.IPipelineDataConverter< T >.


The documentation for this class was generated from the following file: