Class ResourceID
java.lang.Object
org.apache.flink.runtime.clusterframework.types.ResourceID
- All Implemented Interfaces:
Serializable,ResourceIDRetrievable
Class for Resource Ids identifying Flink's distributed components.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionResourceID(String resourceId) ResourceID(String resourceId, String metadata) -
Method Summary
-
Constructor Details
-
ResourceID
-
ResourceID
-
-
Method Details
-
getResourceIdString
Gets the Resource Id as string.- Returns:
- Stringified version of the ResourceID
-
getStringWithMetadata
-
equals
-
hashCode
public final int hashCode() -
toString
-
getResourceID
A ResourceID can always retrieve a ResourceID.- Specified by:
getResourceIDin interfaceResourceIDRetrievable- Returns:
- This instance.
-
getMetadata
-
generate
Generate a random resource id.- Returns:
- A random resource id.
-