Package org.onosproject.store.service
Class PartitionClientInfo
- java.lang.Object
-
- org.onosproject.store.service.PartitionClientInfo
-
public class PartitionClientInfo extends java.lang.Object
Contains information about a database partition client.
-
-
Constructor Summary
Constructors Constructor Description PartitionClientInfo(PartitionId partitionId, java.util.Collection<NodeId> servers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PartitionId
partitionId()
Returns the identifier for the partition.java.util.Collection<NodeId>
servers()
Returns the collection of servers that are members of the partition.
-
-
-
Constructor Detail
-
PartitionClientInfo
public PartitionClientInfo(PartitionId partitionId, java.util.Collection<NodeId> servers)
-
-
Method Detail
-
partitionId
public PartitionId partitionId()
Returns the identifier for the partition.- Returns:
- partition id
-
servers
public java.util.Collection<NodeId> servers()
Returns the collection of servers that are members of the partition.- Returns:
- active members of the partition
-
-