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

com.ebay.jetstream.scattergather.Task Maven / Gradle / Ivy

/*******************************************************************************
 *  Copyright © 2012-2015 eBay Software Foundation
 *  This program is dual licensed under the MIT and Apache 2.0 licenses.
 *  Please see LICENSE for more information.
 *******************************************************************************/
package com.ebay.jetstream.scattergather;

import java.util.concurrent.atomic.AtomicBoolean;

/**
 * interface for scatter gather task. All implementations of scatter gather tasks must implement this interface
 * 
 * @author [email protected]
 * 
 */
public interface Task {

  public boolean execute();

  public void executed();

  public boolean isExecuted();

  /**
   * @return
   */

  public void setAbandonStatusIndicator(AtomicBoolean abandonStatusIndicator);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy