public interface ClusterMetadataProviderService extends ProviderService<ClusterMetadataProvider>
provider can notify core of
updates made to cluster metadata.| Modifier and Type | Method and Description |
|---|---|
void |
clusterMetadataChanged(Versioned<ClusterMetadata> newMetadata)
Notifies about a change to cluster metadata.
|
void |
newActiveMemberForPartition(PartitionId partitionId,
NodeId nodeId)
Notifies that a node just become the active member of a partition.
|
providervoid clusterMetadataChanged(Versioned<ClusterMetadata> newMetadata)
newMetadata - new cluster metadata valuevoid newActiveMemberForPartition(PartitionId partitionId, NodeId nodeId)
partitionId - partition identifiernodeId - identifier of node