T - type of custom meta datapublic static interface TribeService.MergableCustomMetaData<T extends MetaData.Custom>
MetaData.Custom in tribe node
When multiple Mergable Custom metadata of the same type is found (from underlying clusters), the
Custom metadata will be merged using merge(MetaData.Custom) and the result will be stored
in the tribe cluster state| Modifier and Type | Method and Description |
|---|---|
T |
merge(T other)
Merges this custom metadata with other, returning either this or
other custom metadata
for tribe cluster state. |
T merge(T other)
other custom metadata
for tribe cluster state. 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.