Package org.onosproject.cluster
Set of abstractions for dealing with controller cluster related topics.
-
Interface Summary Interface Description ClusterAdminService Service for administering the cluster node membership.ClusterEventListener Entity capable of receiving device cluster-related events.ClusterMetadataAdminService Service for making updates tocluster metadata
.ClusterMetadataEventListener Entity capable of receiving cluster metadata related events.ClusterMetadataProvider Abstraction of acluster metadata
provider.ClusterMetadataProviderRegistry Abstraction of a cluster metadata provider registry.ClusterMetadataProviderService Service through which aprovider
can notify core of updates made to cluster metadata.ClusterMetadataService Service for accessingcluster metadata
.ClusterService Service for obtaining information about the individual nodes within the controller cluster.ClusterStore Manages inventory of controller cluster nodes; not intended for direct use.ClusterStoreDelegate Cluster store delegate abstraction.ControllerNode Represents a controller instance as a member in a cluster.LeadershipAdminService Interface for administratively manipulating leadership assignments.LeadershipEventListener Entity capable of receiving device leadership-related events.LeadershipService Service for leader election.LeadershipStore Store interface for managingLeadershipService
state.LeadershipStoreDelegate LeadershipStore
delegate abstraction.MembershipService Service for obtaining information about the individual members of the controller cluster.Node Represents a controller instance as a member in a cluster.Partition A partition or shard is a group of controller nodes that are work together to maintain state.ProxyFactory<T> Constructs proxy instances for nodes in the cluster.ProxyService Manages remote proxy services and instances. -
Class Summary Class Description ClusterEvent Describes cluster-related event.ClusterMetadata Cluster metadata.ClusterMetadataDiff Deprecated. since 1.14ClusterMetadataEvent Describes a cluster metadata event.ControllerNodeToNodeId Function to convert ControllerNode to NodeId.DefaultControllerNode Default implementation of a controller instance descriptor.DefaultPartition DefaultPartition
implementation.Leader Topic leader.Leadership State of leadership for topic.LeadershipEvent Describes leadership-related event.Member Controller member identity.MembershipGroup Membership group.NodeId Controller cluster identity.PartitionDiff Utility for examining differences between twopartition
values.PartitionId Partition
identifier.RoleInfo An immutable container for role information for a device, within the current cluster. -
Enum Summary Enum Description ClusterEvent.Type Type of cluster-related events.ClusterMetadataEvent.Type Type of cluster metadata events.ControllerNode.State Represents the operational state of the instance.LeadershipEvent.Type Type of leadership events.