Package | Description |
---|---|
org.apache.flink.api.common.operators | |
org.apache.flink.api.common.resources | |
org.apache.flink.runtime.clusterframework.types |
Modifier and Type | Method and Description |
---|---|
Map<String,Resource> |
ResourceSpec.getExtendedResources() |
Constructor and Description |
---|
ResourceSpec(double cpuCores,
int heapMemoryInMB,
int directMemoryInMB,
int nativeMemoryInMB,
int stateSizeInMB,
Resource... extendedResources)
Creates a new ResourceSpec with full resources.
|
Modifier and Type | Class and Description |
---|---|
class |
GPUResource
The GPU resource.
|
Modifier and Type | Method and Description |
---|---|
Resource |
GPUResource.create(double value,
Resource.ResourceAggregateType type) |
protected abstract Resource |
Resource.create(double value,
Resource.ResourceAggregateType type)
Create a resource of the same resource resourceAggregateType.
|
Resource |
Resource.merge(Resource other) |
Modifier and Type | Method and Description |
---|---|
Resource |
Resource.merge(Resource other) |
Modifier and Type | Method and Description |
---|---|
Map<String,Resource> |
ResourceProfile.getExtendedResources()
Get the extended resources.
|
Constructor and Description |
---|
ResourceProfile(double cpuCores,
int heapMemoryInMB,
int directMemoryInMB,
int nativeMemoryInMB,
int networkMemoryInMB,
Map<String,Resource> extendedResources)
Creates a new ResourceProfile.
|
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.