org.opennms.netmgt.model
Class OnmsDistPoller

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

public class OnmsDistPoller
extends java.lang.Object
implements java.io.Serializable

Represents an OpenNMS Distributed Poller

See Also:
Serialized Form

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

Method Detail

getName

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


setName

public void setName(java.lang.String dpname)

getIpAddress

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


setIpAddress

public void setIpAddress(java.lang.String dpip)

getComment

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


setComment

public void setComment(java.lang.String dpcomment)

getDiscoveryLimit

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


setDiscoveryLimit

public void setDiscoveryLimit(java.math.BigDecimal dpdisclimit)

getLastNodePull

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


setLastNodePull

public void setLastNodePull(java.util.Date dplastnodepull)

getLastEventPull

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


setLastEventPull

public void setLastEventPull(java.util.Date dplasteventpull)

getLastPackagePush

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


setLastPackagePush

public void setLastPackagePush(java.util.Date dplastpackagepush)

getAdminState

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


setAdminState

public void setAdminState(java.lang.Integer dpadminstate)

getRunState

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


setRunState

public void setRunState(java.lang.Integer dprunstate)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2007. All Rights Reserved.