Package com.illumon.iris.controller
Class IServerSelectionProvider.ServerGroup
java.lang.Object
com.illumon.iris.controller.IServerSelectionProvider.ServerGroup
- Enclosing interface:
- IServerSelectionProvider
Information about a server group. Each implementation must provide details on each server group to be provided
as a server-selection option.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return the server information string for this server group.int
hashCode()
-
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 queriesgroupClass
- 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 serverconsoleGroups
- the ACL groups to which a user must belong to be able to create consoles on this server groupserverInfo
- the server info to return
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getServerInfo
Return the server information string for this server group.- Returns:
- a JSON encoded string following
DispatcherJsonConstants
-