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() |
Constructor and Description |
---|
NetworkEnvironmentConfiguration(float networkBufFraction,
long networkBufMin,
long networkBufMax,
int networkBufferSize,
MemoryType memoryType,
IOManager.IOMode ioMode,
int partitionRequestInitialBackoff,
int partitionRequestMaxBackoff,
int networkBuffersPerChannel,
int floatingNetworkBuffersPerGate)
Constructor for a setup with purely local communication (no netty).
|
NetworkEnvironmentConfiguration(float networkBufFraction,
long networkBufMin,
long networkBufMax,
int networkBufferSize,
MemoryType memoryType,
IOManager.IOMode ioMode,
int partitionRequestInitialBackoff,
int partitionRequestMaxBackoff,
int networkBuffersPerChannel,
int floatingNetworkBuffersPerGate,
NettyConfig nettyConfig) |
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.