Class IServerSelectionProvider.ServerGroup

java.lang.Object
com.illumon.iris.controller.IServerSelectionProvider.ServerGroup
Enclosing interface:
IServerSelectionProvider

public static class IServerSelectionProvider.ServerGroup extends Object
Information about a server group. Each implementation must provide details on each server group to be provided as a server-selection option.
  • Constructor Details

    • ServerGroup

      public ServerGroup(@NotNull String groupName, @NotNull String groupClass, int maxHeapPerWorkerMB, @Nullable Set<String> consoleGroups, @NotNull String serverInfo)
      Parameters:
      groupName - the server group name, as it will be displayed to users and stored as the db server name in persistent queries
      groupClass - the server class, used to determine what types of queries and users will be allowed to use it (typically Query or Merge)
      maxHeapPerWorkerMB - the maximum query heap that a PQ or console will be allowed to request from the server
      consoleGroups - the ACL groups to which a user must belong to be able to create consoles on this server group
      serverInfo - the server info to return
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getServerInfo

      public String getServerInfo()
      Return the server information string for this server group.
      Returns:
      a JSON encoded string following DispatcherJsonConstants