T - type of custom meta datapublic interface MergableCustomMetaData<T extends MetaData.Custom>
MetaData.Custom.
When multiple Mergable Custom metadata of the same type are found (from underlying clusters), the
Custom metadata can be merged using merge(MetaData.Custom).| Modifier and Type | Method and Description |
|---|---|
T |
merge(T other)
Merges this custom metadata with other, returning either this or
other custom metadata. |
T merge(T other)
other custom metadata.
This method should not mutate either this or the other custom metadata.other - custom meta dataother custom metadata based on implementation
if both the instances are considered equal, implementations should return this
instance to avoid redundant cluster state changes.