public class ShuffleEnvironmentContext extends Object
ShuffleEnvironment
.Constructor and Description |
---|
ShuffleEnvironmentContext(Configuration configuration,
ResourceID taskExecutorResourceId,
MemorySize networkMemorySize,
boolean localCommunicationOnly,
InetAddress hostAddress,
TaskEventPublisher eventPublisher,
MetricGroup parentMetricGroup,
Executor ioExecutor) |
Modifier and Type | Method and Description |
---|---|
Configuration |
getConfiguration() |
TaskEventPublisher |
getEventPublisher() |
InetAddress |
getHostAddress() |
Executor |
getIoExecutor() |
MemorySize |
getNetworkMemorySize() |
MetricGroup |
getParentMetricGroup() |
ResourceID |
getTaskExecutorResourceId() |
boolean |
isLocalCommunicationOnly() |
public ShuffleEnvironmentContext(Configuration configuration, ResourceID taskExecutorResourceId, MemorySize networkMemorySize, boolean localCommunicationOnly, InetAddress hostAddress, TaskEventPublisher eventPublisher, MetricGroup parentMetricGroup, Executor ioExecutor)
public Configuration getConfiguration()
public ResourceID getTaskExecutorResourceId()
public MemorySize getNetworkMemorySize()
public boolean isLocalCommunicationOnly()
public InetAddress getHostAddress()
public TaskEventPublisher getEventPublisher()
public MetricGroup getParentMetricGroup()
public Executor getIoExecutor()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.