@InterfaceAudience.Private
public interface InitialMemoryAllocator
extends org.apache.hadoop.conf.Configurable
| Modifier and Type | Method and Description |
|---|---|
Iterable<Long> |
assignMemory(long availableForAllocation,
int numTotalInputs,
int numTotalOutputs,
Iterable<InitialMemoryRequestContext> requests) |
Iterable<Long> assignMemory(long availableForAllocation, int numTotalInputs, int numTotalOutputs, Iterable<InitialMemoryRequestContext> requests)
availableForAllocation - memory available for allocationnumTotalInputs - number of inputs for the tasknumTotalOutputs - number of outputs for the tasksrequests - Iterable view of requests receivedCopyright © 2019 Apache Software Foundation. All rights reserved.