Package | Description |
---|---|
org.apache.flink.core.memory | |
org.apache.flink.runtime.memory | |
org.apache.flink.runtime.taskexecutor | |
org.apache.flink.runtime.util |
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.
|
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.
|
Constructor and Description |
---|
TaskManagerServicesConfiguration(Configuration configuration,
ResourceID resourceID,
InetAddress taskManagerAddress,
boolean localCommunicationOnly,
String[] tmpDirPaths,
String[] localRecoveryStateRootDirectories,
long freeHeapMemoryWithDefrag,
long maxJvmHeapMemory,
boolean localRecoveryEnabled,
QueryableStateConfiguration queryableStateConfig,
int numberOfSlots,
long configuredMemory,
MemoryType memoryType,
boolean preAllocateMemory,
float memoryFraction,
int pageSize,
long timerServiceShutdownTimeout,
RetryingRegistrationConfiguration retryingRegistrationConfiguration,
Optional<Time> systemResourceMetricsProbingInterval) |
Modifier and Type | Method and Description |
---|---|
static MemoryType |
ConfigurationParserUtils.getMemoryType(Configuration configuration)
Parses the configuration to get the type of memory.
|
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.