|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.collectd.JmxDatacollectionConfig
public class JmxDatacollectionConfig
Class JmxDatacollectionConfig.
| Constructor Summary | |
|---|---|
JmxDatacollectionConfig()
|
|
| Method Summary | |
|---|---|
void |
addJmxCollection(int index,
JmxCollection vJmxCollection)
|
void |
addJmxCollection(JmxCollection vJmxCollection)
|
Enumeration<JmxCollection> |
enumerateJmxCollection()
Method enumerateJmxCollection. |
JmxCollection[] |
getJmxCollection()
Method getJmxCollection.Returns the contents of the collection in an Array. |
JmxCollection |
getJmxCollection(int index)
Method getJmxCollection. |
List<JmxCollection> |
getJmxCollectionCollection()
Method getJmxCollectionCollection.Returns a reference to '_jmxCollectionList'. |
int |
getJmxCollectionCount()
Method getJmxCollectionCount. |
String |
getRrdRepository()
Returns the value of field 'rrdRepository'. |
boolean |
isValid()
Method isValid. |
Iterator<JmxCollection> |
iterateJmxCollection()
Method iterateJmxCollection. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllJmxCollection()
|
boolean |
removeJmxCollection(JmxCollection vJmxCollection)
Method removeJmxCollection. |
JmxCollection |
removeJmxCollectionAt(int index)
Method removeJmxCollectionAt. |
void |
setJmxCollection(int index,
JmxCollection vJmxCollection)
|
void |
setJmxCollection(JmxCollection[] vJmxCollectionArray)
|
void |
setJmxCollection(List<JmxCollection> vJmxCollectionList)
Sets the value of '_jmxCollectionList' by copying the given Vector. |
void |
setJmxCollectionCollection(List<JmxCollection> jmxCollectionList)
Deprecated. |
void |
setRrdRepository(String rrdRepository)
Sets the value of field 'rrdRepository'. |
static JmxDatacollectionConfig |
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 JmxDatacollectionConfig()
| Method Detail |
|---|
public void addJmxCollection(JmxCollection vJmxCollection)
throws IndexOutOfBoundsException
vJmxCollection -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addJmxCollection(int index,
JmxCollection vJmxCollection)
throws IndexOutOfBoundsException
index - vJmxCollection -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<JmxCollection> enumerateJmxCollection()
public JmxCollection getJmxCollection(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic JmxCollection[] getJmxCollection()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<JmxCollection> getJmxCollectionCollection()
public int getJmxCollectionCount()
public String getRrdRepository()
public boolean isValid()
public Iterator<JmxCollection> iterateJmxCollection()
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 removeAllJmxCollection()
public boolean removeJmxCollection(JmxCollection vJmxCollection)
vJmxCollection -
public JmxCollection removeJmxCollectionAt(int index)
index -
public void setJmxCollection(int index,
JmxCollection vJmxCollection)
throws IndexOutOfBoundsException
index - vJmxCollection -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setJmxCollection(JmxCollection[] vJmxCollectionArray)
vJmxCollectionArray - public void setJmxCollection(List<JmxCollection> vJmxCollectionList)
vJmxCollectionList - the Vector to copy.public void setJmxCollectionCollection(List<JmxCollection> jmxCollectionList)
jmxCollectionList - the Vector to set.public void setRrdRepository(String rrdRepository)
rrdRepository - the value of field 'rrdRepository'.
public static JmxDatacollectionConfig 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 | ||||||||