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 |
getPollerConfigurationForPackage(String pollingPackageName) |
String |
getServiceUnresponsiveEnabled()
Enable/disable serviceUnresponsive behavior
|
Integer |
getThreads()
The maximum number of threads used for polling.
|
String |
getXmlrpc()
Flag which indicates if an external XMLRPC server has to be notified
with any event process errors
|
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) |
void |
setXmlrpc(String xmlrpc) |
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 getXmlrpc()
public void setXmlrpc(String xmlrpc)
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 getPollerConfigurationForPackage(String pollingPackageName)
Copyright © 2015. All rights reserved.