Interface Region

All Superinterfaces:
WorldProvider
All Known Implementing Classes:
Worlds.China, Worlds.Europe, Worlds.Japan, Worlds.NorthAmerica, Worlds.Oceania

public interface Region extends WorldProvider
Represents a region containing multiple datacenters
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets a list of all datacenters in this region.
    Name of the region
    default List<World>
    Get a list of all worlds in this datacenter.
  • Method Details

    • datacenters

      List<DataCenter> datacenters()
      Gets a list of all datacenters in this region.
      Returns:
      unmodifiable datacenter list
    • name

      String name()
      Name of the region
      Returns:
      region
    • worlds

      default List<World> worlds()
      Get a list of all worlds in this datacenter.
      Specified by:
      worlds in interface WorldProvider
      Returns:
      unmodifiable world list