All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.outbrain.ob1k.concurrent.handlers.ForeachHandler Maven / Gradle / Ivy

package com.outbrain.ob1k.concurrent.handlers;

import com.outbrain.ob1k.concurrent.ComposableFuture;

/**
 * Created by aronen on 2/10/14.
 * used to calculate aggregated value of a set of chained asynchronous operation
 */
public interface ForeachHandler {
  public ComposableFuture handle(T element, R aggregateResult);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy