org.gcube.data.streams
Interface Callback<T>

Type Parameters:
T - the type of stream elements

public interface Callback<T>

A callback for a StreamConsumer.

Author:
Fabio Simeoni

Field Summary
static Iteration iteration
          The ongoing iteration.
 
Method Summary
 void consume(T element)
          Implement to consume an element of the stream.
 

Field Detail

iteration

static final Iteration iteration
The ongoing iteration.

Method Detail

consume

void consume(T element)
Implement to consume an element of the stream.

Parameters:
element - the element


Copyright © 2012. All Rights Reserved.