| Package | Description |
|---|---|
| org.apache.flink.api.common.operators |
| Modifier and Type | Field and Description |
|---|---|
static ResourceSpec |
ResourceSpec.DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
ResourceSpec |
ResourceSpec.Builder.build() |
ResourceSpec |
Operator.getMinResources()
Gets the minimum resources for this operator.
|
ResourceSpec |
Operator.getPreferredResources()
Gets the preferred resources for this contract instance.
|
ResourceSpec |
ResourceSpec.merge(ResourceSpec other)
Used by system internally to merge the other resources of chained operators
when generating the job graph or merge the resource consumed by state backend.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ResourceSpec.lessThanOrEqual(ResourceSpec other)
Checks the current resource less than or equal with the other resource by comparing
all the fields in the resource.
|
ResourceSpec |
ResourceSpec.merge(ResourceSpec other)
Used by system internally to merge the other resources of chained operators
when generating the job graph or merge the resource consumed by state backend.
|
void |
Operator.setResources(ResourceSpec minResources,
ResourceSpec preferredResources)
Sets the minimum and preferred resources for this contract instance.
|
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.