Class PartitionClientInfo


  • public class PartitionClientInfo
    extends java.lang.Object
    Contains information about a database partition client.
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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