Apache REEF  0.16.0
Retainable Evaluator Execution Framework
Public Member Functions | List of all members
Org.Apache.REEF.Network.Group.Pipelining.Impl.ArrayPipelineDataConverter< T > Class Template Reference

An implementation of IPipelineDataConverter for pipelining Arrays of objects. More...

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

Public Member Functions

List< PipelineMessage< T[]> > PipelineMessage (T[] message)
 Converts the original message to be communicated in to multiple messages, breaking the array into pieces of size PipelineMessageSize More...
 
T [] FullMessage (List< PipelineMessage< T[]>> pipelineMessage)
 Constructs the full final message from the communicated pipelined message More...
 
- Public Member Functions inherited from Org.Apache.REEF.Network.Group.Pipelining.IPipelineDataConverter< T[]>
List< PipelineMessage< T > > PipelineMessage (T message)
 Converts the original message to be communicated in to a vector of pipelined messages. More...
 
FullMessage (List< PipelineMessage< T >> pipelineMessage)
 Constructs the full final message from the vector of communicated pipelined messages More...
 

Detailed Description

An implementation of IPipelineDataConverter for pipelining Arrays of objects.

Template Parameters
TThe type of object of the array to pipeline
Type Constraints
T :new() 

Member Function Documentation

◆ FullMessage()

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

Constructs the full final message from the communicated pipelined message

Parameters
pipelineMessageA list of received pipelined messages
Returns
The full constructed message

◆ PipelineMessage()

Converts the original message to be communicated in to multiple messages, breaking the array into pieces of size PipelineMessageSize

Parameters
messageThe original message
Returns
The list of pipelined messages

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