Package | Description |
---|---|
org.apache.flink.api.common.resources |
Modifier and Type | Method and Description |
---|---|
Resource.ResourceAggregateType |
Resource.getResourceAggregateType() |
static Resource.ResourceAggregateType |
Resource.ResourceAggregateType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Resource.ResourceAggregateType[] |
Resource.ResourceAggregateType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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.
|
Constructor and Description |
---|
Resource(String name,
double value,
Resource.ResourceAggregateType type) |
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.