Package com.illumon.iris.controller
Class PersistentQueryDbServerConfig
java.lang.Object
com.illumon.iris.controller.PersistentQueryDbServerConfig
- All Implemented Interfaces:
Serializable
public class PersistentQueryDbServerConfig extends Object implements Serializable
Database server configuration, suitable for a Persistent Query script.
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PersistentQueryDbServerConfig(String host, int port, String name, String classPushListResourceName, String serverClass, double maxHeapSizeGB)
Data object for dispatcher configuration within the Persistent Query Controller. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
String
getClassPushListResourceName()
String
getHost()
double
getMaxHeapSizeGB()
String
getName()
int
getPort()
String
getServerClass()
int
hashCode()
static PersistentQueryDbServerConfig[]
loadConfigs()
static PersistentQueryDbServerConfig[]
loadConfigs(com.fishlib.configuration.PropertyFile prop)
static Map<String,PersistentQueryDbServerConfig>
loadConfigsMap()
static Map<String,PersistentQueryDbServerConfig>
loadConfigsMap(com.fishlib.configuration.PropertyFile prop)
void
setMaxHeapSizeGB(double maxHeapSizeGB)
String
toString()
-
Field Details
-
name
-
host
-
port
protected final int port -
classPushListResourceName
-
-
Constructor Details
-
PersistentQueryDbServerConfig
public PersistentQueryDbServerConfig(String host, int port, String name, String classPushListResourceName, String serverClass, double maxHeapSizeGB)Data object for dispatcher configuration within the Persistent Query Controller.- Parameters:
host
- the hostname of the dispatcherport
- the port of the dispatchername
- the friendly name to present in the UI and store in the persistent query configurationclassPushListResourceName
- the resource name of the class push listserverClass
- the class of server (e.g., "QUERY" or "MERGE")
-
-
Method Details
-
getName
-
getHost
-
getPort
public int getPort() -
getServerClass
-
getClassPushListResourceName
-
getMaxHeapSizeGB
public double getMaxHeapSizeGB() -
setMaxHeapSizeGB
public void setMaxHeapSizeGB(double maxHeapSizeGB) -
equals
-
hashCode
public int hashCode() -
toString
-
loadConfigs
-
loadConfigs
public static PersistentQueryDbServerConfig[] loadConfigs(com.fishlib.configuration.PropertyFile prop) -
loadConfigsMap
-
loadConfigsMap
public static Map<String,PersistentQueryDbServerConfig> loadConfigsMap(com.fishlib.configuration.PropertyFile prop)
-