public class WorkerRequestReservedMap extends Object
|Constructor and Description|
|Modifier and Type||Method and Description|
Reserve the request (before the request starts to insure that it is only executed once).
public WorkerRequestReservedMap(org.apache.hadoop.conf.Configuration conf)
public boolean reserveRequest(Integer workerId, long requestId)
workerId- workerId of the request
requestId- Request id
Copyright © 2011-2016 The Apache Software Foundation. All Rights Reserved.