public class Collectd extends AbstractServiceDaemon implements EventListener
Collectd class.
PAUSE_PENDING, PAUSED, RESUME_PENDINGRUNNING, START_PENDING, STARTING, STATUS_NAMES, STOP_PENDING, STOPPED| Constructor and Description |
|---|
Collectd()
Constructor.
|
afterPropertiesSet, destroy, getName, getStatus, getStatusText, init, isPaused, isRunning, isStarting, pause, resume, setStatus, start, status, stop, waitForStatus, waitForStatusclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic static CollectionInstrumentation instrumentation()
instrumentation
CollectionInstrumentation object.protected void onInit()
onInit
onInit in class AbstractServiceDaemonpublic void setEventIpcManager(EventIpcManager eventIpcManager)
setEventIpcManager
eventIpcManager - a EventIpcManager object.public EventIpcManager getEventIpcManager()
getEventIpcManager
EventIpcManager object.public ThresholdingService getThresholdingService()
public void setThresholdingService(ThresholdingService thresholdingService)
protected void onStart()
onStart
onStart in class AbstractServiceDaemonprotected void onStop()
onStop
onStop in class AbstractServiceDaemonprotected void onPause()
onPause
onPause in class AbstractServiceDaemonprotected void onResume()
onResume
onResume in class AbstractServiceDaemonpublic Collection<CollectionSpecification> getSpecificationsForInterface(OnmsIpInterface iface, String svcName)
getSpecificationsForInterface
iface - a OnmsIpInterface object.svcName - a String object.Collection object.protected List<org.opennms.netmgt.collectd.CollectableService> getCollectableServices()
public void onEvent(IEvent event)
onEvent in interface EventListenerevent - a IEvent object.protected void handleInsufficientInfo(InsufficientInformationException e)
handleInsufficientInfo
e - a InsufficientInformationException object.public void setScheduler(Scheduler scheduler)
setScheduler
scheduler - a Scheduler object.public void setServiceCollectorRegistry(ServiceCollectorRegistry serviceCollectorRegistry)
public void setLocationAwareCollectorClient(LocationAwareCollectorClient locationAwareCollectorClient)
public void setServiceCollector(String svcName, ServiceCollector collector)
setServiceCollector
svcName - a String object.collector - a ServiceCollector object.public ServiceCollector getServiceCollector(String svcName)
getServiceCollector
svcName - a String object.ServiceCollector object.public PersisterFactory getPersisterFactory()
public void setPersisterFactory(PersisterFactory persisterFactory)
public static String getLoggingCategory()
public long getCollectableServiceCount()
public void setPollOutagesDao(ReadablePollOutagesDao pollOutagesDao)
Copyright © 2022. All rights reserved.