Interface Region

  • All Superinterfaces:
    Annotated
    All Known Implementing Classes:
    DefaultRegion

    public interface Region
    extends Annotated
    Representation of a group of devices located in a common physical or logical region. Optionally, devices in the region can share the same cluster nodes mastership affinities.
    • Method Detail

      • id

        RegionId id()
        Returns the unique identifier of the region.
        Returns:
        region identifier
      • name

        String name()
        Returns the friendly region name that can be used for display purposes.
        Returns:
        friendly name of the region
      • type

        Region.Type type()
        Returns the region type.
        Returns:
        region type
      • masters

        List<Set<NodeId>> masters()
        Returns the list of master node sets. The sets of cluster node identifiers should be listed in the order of preferred mastership. Nodes specified in each sets should be considered with equally priority and devices in the region can be balanced between them based on other criteria, e.g. load.
        Returns:
        list of preferred master node sets