|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.poller.Downtime
public class Downtime
Downtime model. This determines the rates at which addresses are to be polled when they remain down for extended periods. Usually polling is done at lower rates when a node is down until a certain amount of downtime at which the node is marked 'deleted'.
| Constructor Summary | |
|---|---|
Downtime()
|
|
| Method Summary | |
|---|---|
void |
deleteBegin()
|
void |
deleteEnd()
|
void |
deleteInterval()
|
long |
getBegin()
Returns the value of field 'begin'. |
String |
getDelete()
Returns the value of field 'delete'. |
long |
getEnd()
Returns the value of field 'end'. |
long |
getInterval()
Returns the value of field 'interval'. |
boolean |
hasBegin()
Method hasBegin. |
boolean |
hasEnd()
Method hasEnd. |
boolean |
hasInterval()
Method hasInterval. |
boolean |
isValid()
Method isValid. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
setBegin(long begin)
Sets the value of field 'begin'. |
void |
setDelete(String delete)
Sets the value of field 'delete'. |
void |
setEnd(long end)
Sets the value of field 'end'. |
void |
setInterval(long interval)
Sets the value of field 'interval'. |
static Downtime |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Downtime()
| Method Detail |
|---|
public void deleteBegin()
public void deleteEnd()
public void deleteInterval()
public long getBegin()
public String getDelete()
public long getEnd()
public long getInterval()
public boolean hasBegin()
public boolean hasEnd()
public boolean hasInterval()
public boolean isValid()
public void marshal(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void setBegin(long begin)
begin - the value of field 'begin'.public void setDelete(String delete)
delete - the value of field 'delete'.public void setEnd(long end)
end - the value of field 'end'.public void setInterval(long interval)
interval - the value of field 'interval'.
public static Downtime unmarshal(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||