public final class MapReducePool extends Object
Constructor and Description |
---|
MapReducePool(MapReduce mapReduce,
int poolSize) |
Modifier and Type | Method and Description |
---|---|
void |
offer(MapReduce<?,?,?,?,?> mapReduce) |
MapReduce |
take() |
void |
workerEnd(MapReduce.Stage stage) |
void |
workerStart(MapReduce.Stage stage) |
public MapReducePool(MapReduce mapReduce, int poolSize)
public MapReduce take()
public void offer(MapReduce<?,?,?,?,?> mapReduce)
public void workerStart(MapReduce.Stage stage)
public void workerEnd(MapReduce.Stage stage)
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.