Interface Region

  • All Superinterfaces:
    All Known Implementing Classes:

    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.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  Region.Type
      Coarse representation of the type of the region.
    • Method Detail

      • id

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

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

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

        java.util.List<java.util.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.
        list of preferred master node sets