Package org.onosproject.cluster
Interface ClusterMetadataProviderService
-
- All Superinterfaces:
ProviderService<ClusterMetadataProvider>
public interface ClusterMetadataProviderService extends ProviderService<ClusterMetadataProvider>
Service through which aprovider
can notify core of updates made to cluster metadata.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface org.onosproject.net.provider.ProviderService
provider
-
-
-
-
Method Detail
-
clusterMetadataChanged
void clusterMetadataChanged(Versioned<ClusterMetadata> newMetadata)
Notifies about a change to cluster metadata.- Parameters:
newMetadata
- new cluster metadata value
-
newActiveMemberForPartition
void newActiveMemberForPartition(PartitionId partitionId, NodeId nodeId)
Notifies that a node just become the active member of a partition.- Parameters:
partitionId
- partition identifiernodeId
- identifier of node
-
-