public class PollerConfiguration extends Object implements Serializable
Constructor and Description |
---|
PollerConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addMonitor(Monitor monitor) |
void |
addMonitor(String service,
String className) |
void |
addPackage(Package pack) |
boolean |
equals(Object obj) |
List<Monitor> |
getMonitors() |
String |
getNextOutageId()
SQL query for getting the next outage ID.
|
NodeOutage |
getNodeOutage()
Configuration of node-outage functionality
|
Package |
getPackage(String packageName) |
List<Package> |
getPackages() |
String |
getPathOutageEnabled()
Flag which indicates if the optional path outage feature is enabled
|
PollerConfiguration |
getPollerConfigurationForPackages(List<String> pollingPackageNames) |
String |
getServiceUnresponsiveEnabled()
Enable/disable serviceUnresponsive behavior
|
Integer |
getThreads()
The maximum number of threads used for polling.
|
int |
hashCode() |
boolean |
removeMonitor(Monitor monitor) |
boolean |
removePackage(Package pack) |
void |
setMonitors(List<Monitor> monitors) |
void |
setNextOutageId(String nextOutageId) |
void |
setNodeOutage(NodeOutage nodeOutage) |
void |
setPackages(List<Package> packages) |
void |
setPathOutageEnabled(String pathOutageEnabled) |
void |
setServiceUnresponsiveEnabled(String serviceUnresponsiveEnabled) |
void |
setThreads(Integer threads) |
String |
toString() |
public Integer getThreads()
public void setThreads(Integer threads)
public String getNextOutageId()
public void setNextOutageId(String nextOutageId)
public String getServiceUnresponsiveEnabled()
public void setServiceUnresponsiveEnabled(String serviceUnresponsiveEnabled)
public String getPathOutageEnabled()
public void setPathOutageEnabled(String pathOutageEnabled)
public NodeOutage getNodeOutage()
public void setNodeOutage(NodeOutage nodeOutage)
public void addPackage(Package pack) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public boolean removePackage(Package pack)
public void addMonitor(Monitor monitor) throws IndexOutOfBoundsException
IndexOutOfBoundsException
public boolean removeMonitor(Monitor monitor)
public PollerConfiguration getPollerConfigurationForPackages(List<String> pollingPackageNames)
Copyright © 2020. All rights reserved.