org.opennms.netmgt.model
Class OnmsDistPoller

java.lang.Object
  extended by org.opennms.netmgt.model.OnmsDistPoller
All Implemented Interfaces:
Serializable

public class OnmsDistPoller
extends Object
implements Serializable

Represents an OpenNMS Distributed Poller

See Also:
Serialized Form

Constructor Summary
OnmsDistPoller()
          default constructor
OnmsDistPoller(String name, String ipAddress)
          minimal constructor
 
Method Summary
 Integer getAdminState()
          Reflects desired state for this distributed poller.
 String getComment()
          A free form text field providing a desciption of the distrubted poller
 BigDecimal getDiscoveryLimit()
          Numeric representation of percentage of interface speed available to discovery process.
 String getIpAddress()
          IP address of the distributed poller.
 Date getLastEventPull()
          Time of last pull of events from the DP
 Date getLastNodePull()
          Time of last pull of new nodes from the DP
 Date getLastPackagePush()
          Time of last push of Package (config) to the DP
 String getName()
          A human-readable name for each system.
 Integer getRunState()
          Reflects the current perceived state of the distributed poller.
 void setAdminState(Integer dpadminstate)
           
 void setComment(String dpcomment)
           
 void setDiscoveryLimit(BigDecimal dpdisclimit)
           
 void setIpAddress(String dpip)
           
 void setLastEventPull(Date dplasteventpull)
           
 void setLastNodePull(Date dplastnodepull)
           
 void setLastPackagePush(Date dplastpackagepush)
           
 void setName(String dpname)
           
 void setRunState(Integer dprunstate)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OnmsDistPoller

public OnmsDistPoller()
default constructor


OnmsDistPoller

public OnmsDistPoller(String name,
                      String ipAddress)
minimal constructor

Method Detail

getName

public String getName()
A human-readable name for each system. Typically, the system's hostname (not fully qualified).


setName

public void setName(String dpname)

getIpAddress

public String getIpAddress()
IP address of the distributed poller.


setIpAddress

public void setIpAddress(String dpip)

getComment

public String getComment()
A free form text field providing a desciption of the distrubted poller


setComment

public void setComment(String dpcomment)

getDiscoveryLimit

public BigDecimal getDiscoveryLimit()
Numeric representation of percentage of interface speed available to discovery process. See documentation for "bandwidth troll"


setDiscoveryLimit

public void setDiscoveryLimit(BigDecimal dpdisclimit)

getLastNodePull

public Date getLastNodePull()
Time of last pull of new nodes from the DP


setLastNodePull

public void setLastNodePull(Date dplastnodepull)

getLastEventPull

public Date getLastEventPull()
Time of last pull of events from the DP


setLastEventPull

public void setLastEventPull(Date dplasteventpull)

getLastPackagePush

public Date getLastPackagePush()
Time of last push of Package (config) to the DP


setLastPackagePush

public void setLastPackagePush(Date dplastpackagepush)

getAdminState

public Integer getAdminState()
Reflects desired state for this distributed poller. 1 = Up, 0 = Down


setAdminState

public void setAdminState(Integer dpadminstate)

getRunState

public Integer getRunState()
Reflects the current perceived state of the distributed poller. 1 = Up, 0 = Down


setRunState

public void setRunState(Integer dprunstate)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009. All Rights Reserved.