public class StaticExternalResourceInfoProvider extends Object implements ExternalResourceInfoProvider
ExternalResourceInfoProvider which return fixed collection of
ExternalResourceInfo.NO_EXTERNAL_RESOURCES| Constructor and Description |
|---|
StaticExternalResourceInfoProvider(Map<String,Set<? extends org.apache.flink.api.common.externalresource.ExternalResourceInfo>> externalResources) |
| Modifier and Type | Method and Description |
|---|---|
Set<org.apache.flink.api.common.externalresource.ExternalResourceInfo> |
getExternalResourceInfos(String resourceName)
Get the specific external resource information by the resourceName.
|
public Set<org.apache.flink.api.common.externalresource.ExternalResourceInfo> getExternalResourceInfos(String resourceName)
ExternalResourceInfoProvidergetExternalResourceInfos in interface ExternalResourceInfoProviderresourceName - of the required external resourceCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.