org.gcube.data.streams
Class Iteration

java.lang.Object
  extended by org.gcube.data.streams.Iteration

public final class Iteration
extends Object

A model of a Stream iteration, with facilities to control it from within Callbacks and FaultHandlers.

Author:
Fabio Simeoni

Constructor Summary
Iteration()
           
 
Method Summary
 void skip()
          Skip this element of the ongoing iteration.
 void stop()
          Stops the ongoing iteration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Iteration

public Iteration()
Method Detail

stop

public void stop()
          throws StreamStopSignal
Stops the ongoing iteration.

Throws:
StreamStopSignal

skip

public void skip()
          throws StreamSkipSignal
Skip this element of the ongoing iteration.

Throws:
StreamSkipSignal


Copyright © 2012. All Rights Reserved.