| Package | Description |
|---|---|
| org.apache.flink.api.common.operators | |
| org.apache.flink.api.common.resources |
| 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 |
|---|---|
protected abstract Resource |
Resource.create(double value,
Resource.ResourceAggregateType type)
Create a resource of the same resource resourceAggregateType.
|
Resource |
GPUResource.create(double value,
Resource.ResourceAggregateType type) |
Resource |
Resource.merge(Resource other) |
| Modifier and Type | Method and Description |
|---|---|
Resource |
Resource.merge(Resource other) |
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.