public class JmxDatacollectionConfig extends Object implements Serializable
Constructor and Description |
---|
JmxDatacollectionConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addJmxCollection(int index,
JmxCollection vJmxCollection) |
void |
addJmxCollection(JmxCollection vJmxCollection) |
Enumeration<JmxCollection> |
enumerateJmxCollection()
Method enumerateJmxCollection.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
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'.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
isValid()
Deprecated.
|
Iterator<JmxCollection> |
iterateJmxCollection()
Method iterateJmxCollection.
|
void |
marshal(ContentHandler handler)
Deprecated.
|
void |
marshal(Writer out)
Deprecated.
|
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)
Deprecated.
|
void |
validate()
Deprecated.
|
public void addJmxCollection(JmxCollection vJmxCollection) throws IndexOutOfBoundsException
vJmxCollection
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic 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 boolean equals(Object obj)
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 int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
@Deprecated public boolean isValid()
public Iterator<JmxCollection> iterateJmxCollection()
@Deprecated 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 marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema@Deprecated public void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.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'.@Deprecated 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 marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema@Deprecated public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2020. All rights reserved.