Package | Description |
---|---|
org.apache.flink.core.memory | |
org.apache.flink.runtime.io.network.buffer | |
org.apache.flink.runtime.memory | |
org.apache.flink.runtime.taskmanager |
Modifier and Type | Method and Description |
---|---|
static MemoryType |
MemoryType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemoryType[] |
MemoryType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
NetworkBufferPool(int numberOfSegmentsToAllocate,
int segmentSize,
MemoryType memoryType)
Allocates all
MemorySegment instances managed by this pool. |
Modifier and Type | Method and Description |
---|---|
MemoryType |
MemoryManager.getMemoryType()
Gets the type of memory (heap / off-heap) managed by this memory manager.
|
Constructor and Description |
---|
MemoryManager(long memorySize,
int numberOfSlots,
int pageSize,
MemoryType memoryType,
boolean preAllocateMemory)
Creates a memory manager with the given capacity and given page size.
|
Modifier and Type | Method and Description |
---|---|
MemoryType |
NetworkEnvironmentConfiguration.memoryType() |
Modifier and Type | Method and Description |
---|---|
scala.Tuple4<TaskManagerConfiguration,NetworkEnvironmentConfiguration,InetSocketAddress,MemoryType> |
TaskManager$.parseTaskManagerConfiguration(Configuration configuration,
String taskManagerHostname,
boolean localTaskManagerCommunication)
Utility method to extract TaskManager config parameters from the configuration and to
sanity check them.
|
static scala.Tuple4<TaskManagerConfiguration,NetworkEnvironmentConfiguration,InetSocketAddress,MemoryType> |
TaskManager.parseTaskManagerConfiguration(Configuration configuration,
String taskManagerHostname,
boolean localTaskManagerCommunication)
Utility method to extract TaskManager config parameters from the configuration and to
sanity check them.
|
Constructor and Description |
---|
NetworkEnvironmentConfiguration(int numNetworkBuffers,
int networkBufferSize,
MemoryType memoryType,
IOManager.IOMode ioMode,
int partitionRequestInitialBackoff,
int partitionRequestMaxBackoff,
scala.Option<NettyConfig> nettyConfig) |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.