Package jadex.commons.future
Interface IIntermediateResultListener<E>
- 
- All Superinterfaces:
- IFunctionalExceptionListener,- IFunctionalIntermediateFinishedListener<E>,- IFunctionalIntermediateResultCountListener,- IFunctionalIntermediateResultListener<E>,- IFunctionalResultListener<java.util.Collection<E>>,- IResultListener<java.util.Collection<E>>
 - All Known Subinterfaces:
- IIntermediateFutureCommandResultListener<E>,- IMultiplexCollector,- ITuple2ResultListener<E,F>
 - All Known Implementing Classes:
- CollectingIntermediateResultListener,- DefaultTuple2ResultListener,- DuplicateRemovalIntermediateResultListener,- FlattenMultiplexCollector,- IntermediateComponentResultListener,- IntermediateDefaultResultListener,- IntermediateDelegationResultListener,- IntermediateEmptyResultListener,- IntermediateExceptionDelegationResultListener,- MultiServiceInvocationHandler.IntermediateMethodResultListener,- ServiceRankingDelegationResultListener,- ServiceRankingDelegationResultListener2,- ServiceRankingResultListener,- SwingIntermediateDefaultResultListener,- SwingIntermediateDelegationResultListener,- SwingIntermediateExceptionDelegationResultListener,- SwingIntermediateResultListener,- TerminableIntermediateDelegationResultListener,- TimeoutIntermediateResultListener,- UnlimitedIntermediateDelegationResultListener
 
 public interface IIntermediateResultListener<E> extends IResultListener<java.util.Collection<E>>, IFunctionalIntermediateFinishedListener<E>, IFunctionalIntermediateResultListener<E>, IFunctionalIntermediateResultCountListener Result listener with additional notifications in case of intermediate results.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfinished()Declare that the future is finished.voidintermediateResultAvailable(E result)Called when an intermediate result is available.voidmaxResultCountAvailable(int max)Declare that the future result count is available.- 
Methods inherited from interface jadex.commons.future.IFunctionalExceptionListenerexceptionOccurred
 - 
Methods inherited from interface jadex.commons.future.IFunctionalResultListenerresultAvailable
 
- 
 
- 
- 
- 
Method Detail- 
intermediateResultAvailablevoid intermediateResultAvailable(E result) Called when an intermediate result is available.- Specified by:
- intermediateResultAvailablein interface- IFunctionalIntermediateResultListener<E>
- Parameters:
- result- The result.
 
 - 
finishedvoid finished() Declare that the future is finished. This method is only called for intermediate futures, i.e. when this method is called it is guaranteed that the intermediateResultAvailable method was called for all intermediate results before.- Specified by:
- finishedin interface- IFunctionalIntermediateFinishedListener<E>
 
 - 
maxResultCountAvailablevoid maxResultCountAvailable(int max) Declare that the future result count is available. This method is only called for intermediate futures, i.e. when this method is called it is guaranteed that the intermediateResultAvailable method will be called as often as the result count indicates except an exception occurs.- Specified by:
- maxResultCountAvailablein interface- IFunctionalIntermediateResultCountListener
 
 
- 
 
-